aboutsummaryrefslogtreecommitdiffstats
path: root/test/environment/zsh.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-06-19 20:03:14 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2022-06-19 20:03:14 -0400
commitbb14c205b562f6162aadff969540a956aacc0bd1 (patch)
treeed50420fce3c562382b9a1d190031ca64c2de631 /test/environment/zsh.exp
parentMerge pull request #5209 from rusty-snake/shell-none-default (diff)
downloadfirejail-bb14c205b562f6162aadff969540a956aacc0bd1.tar.gz
firejail-bb14c205b562f6162aadff969540a956aacc0bd1.tar.zst
firejail-bb14c205b562f6162aadff969540a956aacc0bd1.zip
shell none set as default (6)
Diffstat (limited to 'test/environment/zsh.exp')
-rwxr-xr-xtest/environment/zsh.exp34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/environment/zsh.exp b/test/environment/zsh.exp
deleted file mode 100755
index 9f871ea54..000000000
--- a/test/environment/zsh.exp
+++ /dev/null
@@ -1,34 +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 --shell=/bin/zsh\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
18send -- "env | grep SHELL;pwd\r"
19expect {
20 timeout {puts "TESTING ERROR 1\n";exit}
21 "SHELL"
22}
23expect {
24 timeout {puts "TESTING ERROR 2\n";exit}
25 "/bin/zsh"
26}
27expect {
28 timeout {puts "TESTING ERROR 3\n";exit}
29 "home"
30}
31send -- "exit\r"
32after 100
33
34puts "\nall done\n"