diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-23 21:20:14 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-23 21:20:14 -0500 |
commit | c0dc4e056589c41b423e9a5c1fe5edd2b845967a (patch) | |
tree | e61d391ac05062514c2ae692378ac8171a02da59 /test/profile_syntax.exp | |
parent | 0.9.36 testing (diff) | |
download | firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.tar.gz firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.tar.zst firejail-c0dc4e056589c41b423e9a5c1fe5edd2b845967a.zip |
0.9.36 testing
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 |