diff options
Diffstat (limited to 'test/utils/join.exp')
-rwxr-xr-x | test/utils/join.exp | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/test/utils/join.exp b/test/utils/join.exp index e1cd37fcb..ab4917f7d 100755 --- a/test/utils/join.exp +++ b/test/utils/join.exp | |||
@@ -8,36 +8,31 @@ cd /home | |||
8 | spawn $env(SHELL) | 8 | spawn $env(SHELL) |
9 | match_max 100000 | 9 | match_max 100000 |
10 | 10 | ||
11 | send -- "firejail --name=svntesting\r" | 11 | send -- "firejail --name=jointesting\r" |
12 | expect { | 12 | expect { |
13 | timeout {puts "TESTING ERROR 0\n";exit} | 13 | timeout {puts "TESTING ERROR 0\n";exit} |
14 | "Child process initialized" | 14 | "Child process initialized" |
15 | } | 15 | } |
16 | sleep 3 | 16 | sleep 2 |
17 | 17 | ||
18 | spawn $env(SHELL) | 18 | spawn $env(SHELL) |
19 | send -- "firejail --join=svntesting;pwd\r" | 19 | send -- "firejail --join=jointesting\r" |
20 | expect { | 20 | expect { |
21 | timeout {puts "TESTING ERROR 1\n";exit} | 21 | timeout {puts "TESTING ERROR 1\n";exit} |
22 | "Switching to pid" | 22 | "Switching to pid" |
23 | } | 23 | } |
24 | sleep 1 | 24 | sleep 1 |
25 | 25 | send -- "ps aux\r" | |
26 | |||
27 | spawn $env(SHELL) | ||
28 | send -- "firejail --shutdown=svntesting;pwd\r" | ||
29 | expect { | 26 | expect { |
30 | timeout {puts "TESTING ERROR 3\n";exit} | 27 | timeout {puts "TESTING ERROR 2\n";exit} |
31 | "home" | 28 | "/bin/bash" |
32 | } | 29 | } |
33 | sleep 1 | ||
34 | |||
35 | send -- "firejail --list;pwd\r" | ||
36 | expect { | 30 | expect { |
37 | timeout {puts "TESTING ERROR 4\n";exit} | 31 | timeout {puts "TESTING ERROR 3\n";exit} |
38 | "svntesting" {puts "TESTING ERROR 5\n";exit} | 32 | "/bin/bash" |
39 | "home" | ||
40 | } | 33 | } |
34 | |||
35 | send -- "exit" | ||
41 | sleep 1 | 36 | sleep 1 |
42 | 37 | ||
43 | puts "\nall done\n" | 38 | puts "\nall done\n" |