diff options
author | netblue30 <netblue30@yahoo.com> | 2018-04-01 07:48:11 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2018-04-01 07:48:11 -0400 |
commit | 1fb1bfe20fbde64d769e846b1581ce021d03e864 (patch) | |
tree | b284305324ca31fa5c0b2b318a9dbeaae146da55 /test/environment/zsh.exp | |
parent | merges (diff) | |
download | firejail-1fb1bfe20fbde64d769e846b1581ce021d03e864.tar.gz firejail-1fb1bfe20fbde64d769e846b1581ce021d03e864.tar.zst firejail-1fb1bfe20fbde64d769e846b1581ce021d03e864.zip |
testing
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" |