aboutsummaryrefslogtreecommitdiffstats
path: root/test/shell_csh.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_csh.exp
parenttesting (diff)
downloadfirejail-020c5449036c461ea1829e854da43429322059d6.tar.gz
firejail-020c5449036c461ea1829e854da43429322059d6.tar.zst
firejail-020c5449036c461ea1829e854da43429322059d6.zip
testing
Diffstat (limited to 'test/shell_csh.exp')
-rwxr-xr-xtest/shell_csh.exp40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/shell_csh.exp b/test/shell_csh.exp
deleted file mode 100755
index a2634f633..000000000
--- a/test/shell_csh.exp
+++ /dev/null
@@ -1,40 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --private --tracelog --csh\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12sleep 1
13
14send -- "ls -al;pwd\r"
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 ".cshrc"
18}
19expect {
20 timeout {puts "TESTING ERROR 1.1\n";exit}
21 "home"
22}
23send -- "env | grep SHELL;pwd\r"
24expect {
25 timeout {puts "TESTING ERROR 2\n";exit}
26 "SHELL"
27}
28expect {
29 timeout {puts "TESTING ERROR 2.1\n";exit}
30 "/bin/csh"
31}
32expect {
33 timeout {puts "TESTING ERROR 2.2\n";exit}
34 "home"
35}
36send -- "exit\r"
37sleep 1
38
39puts "\n"
40