diff options
Diffstat (limited to 'test/shell_zsh.exp')
-rwxr-xr-x | test/shell_zsh.exp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/shell_zsh.exp b/test/shell_zsh.exp deleted file mode 100755 index 1d73fd926..000000000 --- a/test/shell_zsh.exp +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --private --tracelog --zsh\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | send -- "ls -al;pwd\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | ".zshrc" | ||
18 | } | ||
19 | expect { | ||
20 | timeout {puts "TESTING ERROR 1.1\n";exit} | ||
21 | "home" | ||
22 | } | ||
23 | send -- "env | grep SHELL;pwd\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR 2\n";exit} | ||
26 | "SHELL" | ||
27 | } | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 2.1\n";exit} | ||
30 | "/usr/bin/zsh" | ||
31 | } | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 2.2\n";exit} | ||
34 | "home" | ||
35 | } | ||
36 | send -- "exit\r" | ||
37 | sleep 1 | ||
38 | |||
39 | puts "\n" | ||
40 | |||