aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/shutdown.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/shutdown.exp')
-rwxr-xr-xtest/utils/shutdown.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/utils/shutdown.exp b/test/utils/shutdown.exp
index 1d4dc9ae4..15a74f8c8 100755
--- a/test/utils/shutdown.exp
+++ b/test/utils/shutdown.exp
@@ -20,7 +20,7 @@ send -- "stty -echo\r"
20after 100 20after 100
21send -- "firejail --shutdown=shutdowntesting; echo done\r" 21send -- "firejail --shutdown=shutdowntesting; echo done\r"
22expect { 22expect {
23 timeout {puts "TESTING ERROR 4\n";exit} 23 timeout {puts "TESTING ERROR 1\n";exit}
24 "done" 24 "done"
25} 25}
26sleep 5 26sleep 5
@@ -28,15 +28,15 @@ sleep 5
28spawn $env(SHELL) 28spawn $env(SHELL)
29send -- "firejail --list;echo done\r" 29send -- "firejail --list;echo done\r"
30expect { 30expect {
31 timeout {puts "TESTING ERROR 5\n";exit} 31 timeout {puts "TESTING ERROR 2\n";exit}
32 "shutdowntesting" {puts "TESTING ERROR 6\n";exit} 32 "shutdowntesting" {puts "TESTING ERROR 3\n";exit}
33 "done" 33 "done"
34} 34}
35sleep 1 35sleep 1
36 36
37send -- "firejail --shutdown=sutdowntesting\r" 37send -- "firejail --shutdown=sutdowntesting\r"
38expect { 38expect {
39 timeout {puts "TESTING ERROR 5\n";exit} 39 timeout {puts "TESTING ERROR 4\n";exit}
40 "cannot find sandbox sutdowntesting" 40 "cannot find sandbox sutdowntesting"
41} 41}
42after 100 42after 100