aboutsummaryrefslogtreecommitdiffstats
path: root/test/option-shutdown.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-shutdown.exp')
-rwxr-xr-xtest/option-shutdown.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/option-shutdown.exp b/test/option-shutdown.exp
index 260a5b84f..e869f7611 100755
--- a/test/option-shutdown.exp
+++ b/test/option-shutdown.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --name=svntesting\r" 7send -- "firejail --name=shutdowntesting\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized" 10 "Child process initialized"
@@ -12,7 +12,7 @@ expect {
12sleep 3 12sleep 3
13 13
14spawn $env(SHELL) 14spawn $env(SHELL)
15send -- "firejail --shutdown=svntesting;pwd\r" 15send -- "firejail --shutdown=shutdowntesting;pwd\r"
16expect { 16expect {
17 timeout {puts "TESTING ERROR 4\n";exit} 17 timeout {puts "TESTING ERROR 4\n";exit}
18 "home" 18 "home"
@@ -22,9 +22,9 @@ sleep 1
22send -- "firejail --list;pwd\r" 22send -- "firejail --list;pwd\r"
23expect { 23expect {
24 timeout {puts "TESTING ERROR 5\n";exit} 24 timeout {puts "TESTING ERROR 5\n";exit}
25 "svntesting" {puts "TESTING ERROR 6\n";exit} 25 "shutdowntesting" {puts "TESTING ERROR 6\n";exit}
26 "home" 26 "home"
27} 27}
28sleep 1 28sleep 1
29 29
30puts "\n" 30puts "\nalldone\n"