diff options
Diffstat (limited to 'test/shell_dash.exp')
-rwxr-xr-x | test/shell_dash.exp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/shell_dash.exp b/test/shell_dash.exp deleted file mode 100755 index f5a60719e..000000000 --- a/test/shell_dash.exp +++ /dev/null | |||
@@ -1,41 +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 --shell=/bin/dash\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 | |||
24 | send -- "env | grep SHELL;pwd\r" | ||
25 | expect { | ||
26 | timeout {puts "TESTING ERROR 2\n";exit} | ||
27 | "SHELL" | ||
28 | } | ||
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 2.1\n";exit} | ||
31 | "/bin/dash" | ||
32 | } | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 2.2\n";exit} | ||
35 | "home" | ||
36 | } | ||
37 | send -- "exit\r" | ||
38 | sleep 1 | ||
39 | |||
40 | puts "\n" | ||
41 | |||