aboutsummaryrefslogtreecommitdiffstats
path: root/test/fs/whitelist-dev.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-08-30 11:08:37 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-08-30 11:08:37 -0400
commit12d64e7151e633f50e86b283c24cf85db7f1db41 (patch)
treed41ca03cfc415abf85bf7057258307ee448dd158 /test/fs/whitelist-dev.exp
parentfix seccomp secondary filter printing on i386 platform (diff)
downloadfirejail-12d64e7151e633f50e86b283c24cf85db7f1db41.tar.gz
firejail-12d64e7151e633f50e86b283c24cf85db7f1db41.tar.zst
firejail-12d64e7151e633f50e86b283c24cf85db7f1db41.zip
removed zsh from travis test suite, fixed handling of /dev/shm whitelist for Debian wheezy and Ubuntu 14.04
Diffstat (limited to 'test/fs/whitelist-dev.exp')
-rwxr-xr-xtest/fs/whitelist-dev.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp
index b064671b6..b6ae6319f 100755
--- a/test/fs/whitelist-dev.exp
+++ b/test/fs/whitelist-dev.exp
@@ -25,14 +25,14 @@ sleep 1
25 25
26send -- "firejail --whitelist=/dev/null --whitelist=/dev/shm --whitelist=/dev/random\r" 26send -- "firejail --whitelist=/dev/null --whitelist=/dev/shm --whitelist=/dev/random\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 0\n";exit} 28 timeout {puts "TESTING ERROR 2\n";exit}
29 "Child process initialized" 29 "Child process initialized"
30} 30}
31sleep 1 31sleep 1
32 32
33send -- "find /dev | wc -l\r" 33send -- "find /dev | wc -l\r"
34expect { 34expect {
35 timeout {puts "TESTING ERROR 0.1\n";exit} 35 timeout {puts "TESTING ERROR 3\n";exit}
36 "4" 36 "4"
37} 37}
38after 100 38after 100
@@ -41,14 +41,14 @@ sleep 1
41 41
42send -- "firejail --private-dev --debug\r" 42send -- "firejail --private-dev --debug\r"
43expect { 43expect {
44 timeout {puts "TESTING ERROR 2\n";exit} 44 timeout {puts "TESTING ERROR 4\n";exit}
45 "Child process initialized" 45 "Child process initialized"
46} 46}
47sleep 1 47sleep 1
48 48
49send -- "ls -l /dev | wc -l\r" 49send -- "ls -l /dev | wc -l\r"
50expect { 50expect {
51 timeout {puts "TESTING ERROR 3\n";exit} 51 timeout {puts "TESTING ERROR 5\n";exit}
52 "12" {puts "OK\n"} 52 "12" {puts "OK\n"}
53 "13" {puts "OK\n"} 53 "13" {puts "OK\n"}
54 "14" {puts "OK\n"} 54 "14" {puts "OK\n"}