From a158c11455beaa8a81b912e63ddb48a269c99859 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 16 Apr 2017 22:53:13 +0200 Subject: test: wc would print 1 for the 'total: 0' line --- test/fs/whitelist-empty.exp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/fs/whitelist-empty.exp b/test/fs/whitelist-empty.exp index e1c3ffb4a..9e4406263 100755 --- a/test/fs/whitelist-empty.exp +++ b/test/fs/whitelist-empty.exp @@ -14,36 +14,36 @@ expect { } sleep 1 -send -- "ls -l ~/ | wc -l\r" +send -- "ls -l ~\r" expect { timeout {puts "TESTING ERROR 1\n";exit} "0" } -send -- "ls -l /tmp | wc -l\r" +send -- "ls -l /tmp\r" expect { timeout {puts "TESTING ERROR 2\n";exit} "0" } -send -- "ls -l /media | wc -l\r" +send -- "ls -l /media\r" expect { timeout {puts "TESTING ERROR 3\n";exit} "0" } -send -- "ls -l /var | wc -l\r" +send -- "ls -l /var\r" expect { timeout {puts "TESTING ERROR 4\n";exit} "0" } -send -- "ls -l /dev | wc -l\r" +send -- "ls -l /dev\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "0" } -send -- "ls -l /opt | wc -l\r" +send -- "ls -l /opt\r" expect { timeout {puts "TESTING ERROR 6\n";exit} "0" -- cgit v1.2.3-54-g00ecf