diff options
Diffstat (limited to 'test/filters')
-rwxr-xr-x | test/filters/noroot.exp | 1 | ||||
-rwxr-xr-x | test/filters/protocol.exp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/filters/noroot.exp b/test/filters/noroot.exp index 7f4f189ee..bbd2291c8 100755 --- a/test/filters/noroot.exp +++ b/test/filters/noroot.exp | |||
@@ -143,6 +143,7 @@ expect { | |||
143 | timeout {puts "TESTING ERROR 22\n";exit} | 143 | timeout {puts "TESTING ERROR 22\n";exit} |
144 | "effective uid is not 0, is sudo installed setuid root?" { puts "OK\n";} | 144 | "effective uid is not 0, is sudo installed setuid root?" { puts "OK\n";} |
145 | "sudo must be owned by uid 0 and have the setuid bit set" { puts "OK\n";} | 145 | "sudo must be owned by uid 0 and have the setuid bit set" { puts "OK\n";} |
146 | "Permission denied" { puts "OK\n";} | ||
146 | } | 147 | } |
147 | send -- "cat /proc/self/uid_map | wc -l\r" | 148 | send -- "cat /proc/self/uid_map | wc -l\r" |
148 | expect { | 149 | expect { |
diff --git a/test/filters/protocol.exp b/test/filters/protocol.exp index 10a13fe25..82e9a63eb 100755 --- a/test/filters/protocol.exp +++ b/test/filters/protocol.exp | |||
@@ -10,10 +10,12 @@ match_max 100000 | |||
10 | send -- "firejail --noprofile --protocol=unix ./syscall_test socket\r" | 10 | send -- "firejail --noprofile --protocol=unix ./syscall_test socket\r" |
11 | expect { | 11 | expect { |
12 | timeout {puts "TESTING ERROR 1\n";exit} | 12 | timeout {puts "TESTING ERROR 1\n";exit} |
13 | "Permission denied" {puts "TESTING SKIP: permission denied\n"; exit} | ||
13 | "Child process initialized" | 14 | "Child process initialized" |
14 | } | 15 | } |
15 | expect { | 16 | expect { |
16 | timeout {puts "TESTING ERROR 1.1\n";exit} | 17 | timeout {puts "TESTING ERROR 1.1\n";exit} |
18 | "Permission denied" {puts "TESTING SKIP: permission denied\n"; exit} | ||
17 | "socket AF_INET" | 19 | "socket AF_INET" |
18 | } | 20 | } |
19 | expect { | 21 | expect { |