summaryrefslogtreecommitdiffstats
path: root/test/environment/zsh.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/environment/zsh.exp')
-rwxr-xr-xtest/environment/zsh.exp14
1 files changed, 3 insertions, 11 deletions
diff --git a/test/environment/zsh.exp b/test/environment/zsh.exp
index e625c4793..7ab7faa76 100755
--- a/test/environment/zsh.exp
+++ b/test/environment/zsh.exp
@@ -4,7 +4,6 @@
4# License GPL v2 4# License GPL v2
5 5
6set timeout 10 6set timeout 10
7#cd /home
8spawn $env(SHELL) 7spawn $env(SHELL)
9match_max 100000 8match_max 100000
10 9
@@ -15,15 +14,12 @@ expect {
15} 14}
16sleep 1 15sleep 1
17 16
18send -- "ls -al;pwd\r" 17send -- "find /home\r"
19expect { 18expect {
20 timeout {puts "TESTING ERROR 1\n";exit} 19 timeout {puts "TESTING ERROR 1\n";exit}
21 ".zshrc" 20 ".zshrc"
22} 21}
23expect { 22
24 timeout {puts "TESTING ERROR 1.1\n";exit}
25 "home"
26}
27send -- "env | grep SHELL;pwd\r" 23send -- "env | grep SHELL;pwd\r"
28expect { 24expect {
29 timeout {puts "TESTING ERROR 2\n";exit} 25 timeout {puts "TESTING ERROR 2\n";exit}
@@ -33,12 +29,8 @@ expect {
33 timeout {puts "TESTING ERROR 2.1\n";exit} 29 timeout {puts "TESTING ERROR 2.1\n";exit}
34 "/usr/bin/zsh" 30 "/usr/bin/zsh"
35} 31}
36expect {
37 timeout {puts "TESTING ERROR 2.2\n";exit}
38 "home"
39}
40send -- "exit\r" 32send -- "exit\r"
41sleep 1 33sleep 1
42 34
43puts "\n" 35puts "\nall done\n"
44 36