aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/shutdown.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/shutdown.exp')
-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"