diff options
author | netblue30 <netblue30@yahoo.com> | 2017-08-30 11:08:37 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-08-30 11:08:37 -0400 |
commit | 12d64e7151e633f50e86b283c24cf85db7f1db41 (patch) | |
tree | d41ca03cfc415abf85bf7057258307ee448dd158 /test/fs/whitelist-dev.exp | |
parent | fix seccomp secondary filter printing on i386 platform (diff) | |
download | firejail-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-x | test/fs/whitelist-dev.exp | 8 |
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 | ||
26 | send -- "firejail --whitelist=/dev/null --whitelist=/dev/shm --whitelist=/dev/random\r" | 26 | send -- "firejail --whitelist=/dev/null --whitelist=/dev/shm --whitelist=/dev/random\r" |
27 | expect { | 27 | expect { |
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 | } |
31 | sleep 1 | 31 | sleep 1 |
32 | 32 | ||
33 | send -- "find /dev | wc -l\r" | 33 | send -- "find /dev | wc -l\r" |
34 | expect { | 34 | expect { |
35 | timeout {puts "TESTING ERROR 0.1\n";exit} | 35 | timeout {puts "TESTING ERROR 3\n";exit} |
36 | "4" | 36 | "4" |
37 | } | 37 | } |
38 | after 100 | 38 | after 100 |
@@ -41,14 +41,14 @@ sleep 1 | |||
41 | 41 | ||
42 | send -- "firejail --private-dev --debug\r" | 42 | send -- "firejail --private-dev --debug\r" |
43 | expect { | 43 | expect { |
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 | } |
47 | sleep 1 | 47 | sleep 1 |
48 | 48 | ||
49 | send -- "ls -l /dev | wc -l\r" | 49 | send -- "ls -l /dev | wc -l\r" |
50 | expect { | 50 | expect { |
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"} |