summaryrefslogtreecommitdiffstats
path: root/test/fs/whitelist-dev.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-12-15 14:12:31 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-12-15 14:12:31 -0500
commit1b549b5ee5a386bf3297a54a533fcd7294e23fec (patch)
tree7c9d2ddf2d3bea9870c7cac8d45cc7600ed4b8b4 /test/fs/whitelist-dev.exp
parentfix older platforms (diff)
downloadfirejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.tar.gz
firejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.tar.zst
firejail-1b549b5ee5a386bf3297a54a533fcd7294e23fec.zip
testing
Diffstat (limited to 'test/fs/whitelist-dev.exp')
-rwxr-xr-xtest/fs/whitelist-dev.exp12
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}
15sleep 1 15sleep 1
16 16
17send -- "ls -l /dev | find /dev | wc -l\r" 17send -- "find /dev | wc -l\r"
18expect { 18expect {
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
23send -- "exit\r" 23send -- "exit\r"
24sleep 1 24sleep 1
25 25
26send -- "firejail --whitelist=/var/tmp --debug\r" 26send -- "firejail --private-dev --debug\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 -- "ls -l /dev | find /dev | wc -l\r" 33send -- "ls -l /dev | wc -l\r"
34expect { 34expect {
35 timeout {puts "TESTING ERROR 1\n";exit} 35 timeout {puts "TESTING ERROR 3\n";exit}
36 "2" 36 "13"
37} 37}
38after 100 38after 100
39send -- "exit\r" 39send -- "exit\r"