aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/whitelist-empty.exp
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-16 22:53:13 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-04-16 22:54:05 +0200
commita158c11455beaa8a81b912e63ddb48a269c99859 (patch)
treea0c2047397bce1811a441477a68483a614d7dec6 /test/fs/whitelist-empty.exp
parenttest: use ~ instead of /home for non-/home homedirs (diff)
downloadfirejail-a158c11455beaa8a81b912e63ddb48a269c99859.tar.gz
firejail-a158c11455beaa8a81b912e63ddb48a269c99859.tar.zst
firejail-a158c11455beaa8a81b912e63ddb48a269c99859.zip
test: wc would print 1 for the 'total: 0' line
Diffstat (limited to 'test/fs/whitelist-empty.exp')
-rwxr-xr-xtest/fs/whitelist-empty.exp12
1 files 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 {
14} 14}
15sleep 1 15sleep 1
16 16
17send -- "ls -l ~/ | wc -l\r" 17send -- "ls -l ~\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
20 "0" 20 "0"
21} 21}
22 22
23send -- "ls -l /tmp | wc -l\r" 23send -- "ls -l /tmp\r"
24expect { 24expect {
25 timeout {puts "TESTING ERROR 2\n";exit} 25 timeout {puts "TESTING ERROR 2\n";exit}
26 "0" 26 "0"
27} 27}
28 28
29send -- "ls -l /media | wc -l\r" 29send -- "ls -l /media\r"
30expect { 30expect {
31 timeout {puts "TESTING ERROR 3\n";exit} 31 timeout {puts "TESTING ERROR 3\n";exit}
32 "0" 32 "0"
33} 33}
34 34
35send -- "ls -l /var | wc -l\r" 35send -- "ls -l /var\r"
36expect { 36expect {
37 timeout {puts "TESTING ERROR 4\n";exit} 37 timeout {puts "TESTING ERROR 4\n";exit}
38 "0" 38 "0"
39} 39}
40 40
41send -- "ls -l /dev | wc -l\r" 41send -- "ls -l /dev\r"
42expect { 42expect {
43 timeout {puts "TESTING ERROR 5\n";exit} 43 timeout {puts "TESTING ERROR 5\n";exit}
44 "0" 44 "0"
45} 45}
46send -- "ls -l /opt | wc -l\r" 46send -- "ls -l /opt\r"
47expect { 47expect {
48 timeout {puts "TESTING ERROR 6\n";exit} 48 timeout {puts "TESTING ERROR 6\n";exit}
49 "0" 49 "0"