diff options
Diffstat (limited to 'test/option-shutdown.exp')
-rwxr-xr-x | test/option-shutdown.exp | 8 |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --name=svntesting\r" | 7 | send -- "firejail --name=shutdowntesting\r" |
8 | expect { | 8 | expect { |
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 { | |||
12 | sleep 3 | 12 | sleep 3 |
13 | 13 | ||
14 | spawn $env(SHELL) | 14 | spawn $env(SHELL) |
15 | send -- "firejail --shutdown=svntesting;pwd\r" | 15 | send -- "firejail --shutdown=shutdowntesting;pwd\r" |
16 | expect { | 16 | expect { |
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 | |||
22 | send -- "firejail --list;pwd\r" | 22 | send -- "firejail --list;pwd\r" |
23 | expect { | 23 | expect { |
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 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | puts "\n" | 30 | puts "\nalldone\n" |