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