From c0dc4e056589c41b423e9a5c1fe5edd2b845967a Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 23 Dec 2015 21:20:14 -0500 Subject: 0.9.36 testing --- test/profile_syntax.exp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'test/profile_syntax.exp') 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 { } sleep 2 -send -- "ls /sbin\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - "cannot open" -} - -sleep 1 -send -- "ls /usr/sbin\r" +send -- "cat /sbin/iptables\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "cannot open" + "Permission denied" } sleep 1 -- cgit v1.2.3-70-g09d2