diff options
Diffstat (limited to 'test/environment/zsh.exp')
-rwxr-xr-x | test/environment/zsh.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/environment/zsh.exp b/test/environment/zsh.exp index 65fe440c7..e7f610e98 100755 --- a/test/environment/zsh.exp +++ b/test/environment/zsh.exp | |||
@@ -30,6 +30,20 @@ expect { | |||
30 | "/bin/zsh" | 30 | "/bin/zsh" |
31 | } | 31 | } |
32 | send -- "exit\r" | 32 | send -- "exit\r" |
33 | sleep 1 | ||
34 | |||
35 | send -- "firejail --shell=none --zsh\r" | ||
36 | expect { | ||
37 | timeout {puts "TESTING ERROR 3\n";exit} | ||
38 | "shell=none was already specified" | ||
39 | } | ||
40 | after 100 | ||
41 | |||
42 | send -- "firejail --zsh --shell=none\r" | ||
43 | expect { | ||
44 | timeout {puts "TESTING ERROR 4\n";exit} | ||
45 | "a shell was already specified" | ||
46 | } | ||
33 | after 100 | 47 | after 100 |
34 | 48 | ||
35 | puts "\nall done\n" | 49 | puts "\nall done\n" |