aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/dash.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/environment/dash.exp')
-rwxr-xr-xtest/environment/dash.exp44
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
6set timeout 10
7cd /home
8spawn $env(SHELL)
9match_max 100000
10
11send -- "firejail --private --tracelog --shell=/bin/dash\r"
12expect {
13 timeout {puts "TESTING ERROR 0\n";exit}
14 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
15}
16sleep 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
28send -- "env | grep SHELL;pwd\r"
29expect {
30 timeout {puts "TESTING ERROR 2\n";exit}
31 "SHELL"
32}
33expect {
34 timeout {puts "TESTING ERROR 2.1\n";exit}
35 "/bin/dash"
36}
37expect {
38 timeout {puts "TESTING ERROR 2.2\n";exit}
39 "home"
40}
41send -- "exit\r"
42after 100
43
44puts "\n"