diff options
author | netblue30 <netblue30@yahoo.com> | 2016-12-15 14:12:31 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-12-15 14:12:31 -0500 |
commit | 1b549b5ee5a386bf3297a54a533fcd7294e23fec (patch) | |
tree | 7c9d2ddf2d3bea9870c7cac8d45cc7600ed4b8b4 /test/fs/whitelist-dev.exp | |
parent | fix older platforms (diff) | |
download | firejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.tar.gz firejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.tar.zst firejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.zip |
testing
Diffstat (limited to 'test/fs/whitelist-dev.exp')
-rwxr-xr-x | test/fs/whitelist-dev.exp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/fs/whitelist-dev.exp b/test/fs/whitelist-dev.exp index a19d5cedf..a2002bc0a 100755 --- a/test/fs/whitelist-dev.exp +++ b/test/fs/whitelist-dev.exp | |||
@@ -14,7 +14,7 @@ expect { | |||
14 | } | 14 | } |
15 | sleep 1 | 15 | sleep 1 |
16 | 16 | ||
17 | send -- "ls -l /dev | find /dev | wc -l\r" | 17 | send -- "find /dev | wc -l\r" |
18 | expect { | 18 | expect { |
19 | timeout {puts "TESTING ERROR 1\n";exit} | 19 | timeout {puts "TESTING ERROR 1\n";exit} |
20 | "2" | 20 | "2" |
@@ -23,17 +23,17 @@ after 100 | |||
23 | send -- "exit\r" | 23 | send -- "exit\r" |
24 | sleep 1 | 24 | sleep 1 |
25 | 25 | ||
26 | send -- "firejail --whitelist=/var/tmp --debug\r" | 26 | send -- "firejail --private-dev --debug\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 -- "ls -l /dev | find /dev | wc -l\r" | 33 | send -- "ls -l /dev | wc -l\r" |
34 | expect { | 34 | expect { |
35 | timeout {puts "TESTING ERROR 1\n";exit} | 35 | timeout {puts "TESTING ERROR 3\n";exit} |
36 | "2" | 36 | "13" |
37 | } | 37 | } |
38 | after 100 | 38 | after 100 |
39 | send -- "exit\r" | 39 | send -- "exit\r" |