diff options
Diffstat (limited to 'test/profile_syntax.exp')
-rwxr-xr-x | test/profile_syntax.exp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/profile_syntax.exp b/test/profile_syntax.exp index 3218177c3..5815bd619 100755 --- a/test/profile_syntax.exp +++ b/test/profile_syntax.exp | |||
@@ -11,17 +11,10 @@ expect { | |||
11 | } | 11 | } |
12 | 12 | ||
13 | sleep 2 | 13 | sleep 2 |
14 | send -- "ls /sbin\r" | 14 | send -- "cat /sbin/iptables\r" |
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "cannot open" | ||
18 | } | ||
19 | |||
20 | sleep 1 | ||
21 | send -- "ls /usr/sbin\r" | ||
22 | expect { | 15 | expect { |
23 | timeout {puts "TESTING ERROR 2\n";exit} | 16 | timeout {puts "TESTING ERROR 2\n";exit} |
24 | "cannot open" | 17 | "Permission denied" |
25 | } | 18 | } |
26 | 19 | ||
27 | sleep 1 | 20 | sleep 1 |