summaryrefslogtreecommitdiffstats
path: root/test/profile_syntax.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/profile_syntax.exp')
-rwxr-xr-xtest/profile_syntax.exp11
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
13sleep 2 13sleep 2
14send -- "ls /sbin\r" 14send -- "cat /sbin/iptables\r"
15expect {
16 timeout {puts "TESTING ERROR 1\n";exit}
17 "cannot open"
18}
19
20sleep 1
21send -- "ls /usr/sbin\r"
22expect { 15expect {
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
27sleep 1 20sleep 1