diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/profile_syntax2.exp | 4 | ||||
-rwxr-xr-x | test/seccomp-debug.exp | 10 |
2 files changed, 5 insertions, 9 deletions
diff --git a/test/profile_syntax2.exp b/test/profile_syntax2.exp index cd514aa0e..7c5d1b5cd 100755 --- a/test/profile_syntax2.exp +++ b/test/profile_syntax2.exp | |||
@@ -28,11 +28,11 @@ expect { | |||
28 | } | 28 | } |
29 | expect { | 29 | expect { |
30 | timeout {puts "TESTING ERROR 5\n";exit} | 30 | timeout {puts "TESTING ERROR 5\n";exit} |
31 | "Initialize seccomp filter" | 31 | "SECCOMP Filter" |
32 | } | 32 | } |
33 | expect { | 33 | expect { |
34 | timeout {puts "TESTING ERROR 6\n";exit} | 34 | timeout {puts "TESTING ERROR 6\n";exit} |
35 | "Blacklisting syscall" | 35 | "BLACKLIST" |
36 | } | 36 | } |
37 | expect { | 37 | expect { |
38 | timeout {puts "TESTING ERROR 7\n";exit} | 38 | timeout {puts "TESTING ERROR 7\n";exit} |
diff --git a/test/seccomp-debug.exp b/test/seccomp-debug.exp index a7b89912a..1034f040e 100755 --- a/test/seccomp-debug.exp +++ b/test/seccomp-debug.exp | |||
@@ -7,11 +7,7 @@ match_max 100000 | |||
7 | send -- "firejail --seccomp --debug\r" | 7 | send -- "firejail --seccomp --debug\r" |
8 | expect { | 8 | expect { |
9 | timeout {puts "TESTING ERROR 0\n";exit} | 9 | timeout {puts "TESTING ERROR 0\n";exit} |
10 | "Blacklisting syscall" | 10 | "SECCOMP Filter" |
11 | } | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 1\n";exit} | ||
14 | "open_by_handle_at" | ||
15 | } | 11 | } |
16 | expect { | 12 | expect { |
17 | timeout {puts "TESTING ERROR 2\n";exit} | 13 | timeout {puts "TESTING ERROR 2\n";exit} |
@@ -28,5 +24,5 @@ expect { | |||
28 | sleep 2 | 24 | sleep 2 |
29 | 25 | ||
30 | send -- "exit\r" | 26 | send -- "exit\r" |
31 | sleep 1 | 27 | after 100 |
32 | puts "\n" | 28 | puts "all done\n" |