aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-12-01 20:55:01 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-12-01 20:55:01 -0500
commit89a0adc3cd1677f7b8cb129649fda8165c47f6d9 (patch)
tree69c80f90ab5e5d3b2689b6e84261bde383c84658 /test/utils
parentcleanup (diff)
downloadfirejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.gz
firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.tar.zst
firejail-89a0adc3cd1677f7b8cb129649fda8165c47f6d9.zip
testing
Diffstat (limited to 'test/utils')
-rwxr-xr-xtest/utils/shutdown.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp
index 15a9a62c8..1ab231bf4 100755
--- a/test/utils/shutdown.exp
+++ b/test/utils/shutdown.exp
@@ -32,4 +32,18 @@ expect {
32} 32}
33sleep 1 33sleep 1
34 34
35send -- "firejail --shutdown=sutdowntesting\r"
36expect {
37 timeout {puts "TESTING ERROR 5\n";exit}
38 "cannot find sandbox sutdowntesting"
39}
40after 100
41
42send -- "firejail --shutdown=10\r"
43expect {
44 timeout {puts "TESTING ERROR 5\n";exit}
45 "this is not a firejail sandbox"
46}
47after 100
48
35puts "\nall done\n" 49puts "\nall done\n"