diff options
Diffstat (limited to 'test/environment/dash.exp')
-rwxr-xr-x | test/environment/dash.exp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/environment/dash.exp b/test/environment/dash.exp deleted file mode 100755 index 4dd5cac9f..000000000 --- a/test/environment/dash.exp +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2022 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | set timeout 10 | ||
7 | cd /home | ||
8 | spawn $env(SHELL) | ||
9 | match_max 100000 | ||
10 | |||
11 | send -- "firejail --private --tracelog --shell=/bin/dash\r" | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 0\n";exit} | ||
14 | -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" | ||
15 | } | ||
16 | sleep 1 | ||
17 | |||
18 | #send -- "ls -al;pwd\r" | ||
19 | #expect { | ||
20 | # timeout {puts "TESTING ERROR 1\n";exit} | ||
21 | # ".zshrc" | ||
22 | #} | ||
23 | #expect { | ||
24 | # timeout {puts "TESTING ERROR 1.1\n";exit} | ||
25 | # "home" | ||
26 | #} | ||
27 | |||
28 | send -- "env | grep SHELL;pwd\r" | ||
29 | expect { | ||
30 | timeout {puts "TESTING ERROR 2\n";exit} | ||
31 | "SHELL" | ||
32 | } | ||
33 | expect { | ||
34 | timeout {puts "TESTING ERROR 2.1\n";exit} | ||
35 | "/bin/dash" | ||
36 | } | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR 2.2\n";exit} | ||
39 | "home" | ||
40 | } | ||
41 | send -- "exit\r" | ||
42 | after 100 | ||
43 | |||
44 | puts "\n" | ||