aboutsummaryrefslogtreecommitdiffstats
path: root/test/shell_dash.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 06:32:15 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-24 06:32:15 -0400
commit020c5449036c461ea1829e854da43429322059d6 (patch)
tree46ca4f358fcc1c50be77586ccdb0e02170d81e1d /test/shell_dash.exp
parenttesting (diff)
downloadfirejail-020c5449036c461ea1829e854da43429322059d6.tar.gz
firejail-020c5449036c461ea1829e854da43429322059d6.tar.zst
firejail-020c5449036c461ea1829e854da43429322059d6.zip
testing
Diffstat (limited to 'test/shell_dash.exp')
-rwxr-xr-xtest/shell_dash.exp41
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
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --private --tracelog --shell=/bin/dash\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12sleep 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
24send -- "env | grep SHELL;pwd\r"
25expect {
26 timeout {puts "TESTING ERROR 2\n";exit}
27 "SHELL"
28}
29expect {
30 timeout {puts "TESTING ERROR 2.1\n";exit}
31 "/bin/dash"
32}
33expect {
34 timeout {puts "TESTING ERROR 2.2\n";exit}
35 "home"
36}
37send -- "exit\r"
38sleep 1
39
40puts "\n"
41