diff options
-rwxr-xr-x | test/filters/seccomp-su.exp | 3 | ||||
-rwxr-xr-x | test/utils/trace.exp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/filters/seccomp-su.exp b/test/filters/seccomp-su.exp index e2ab050bf..3f1f2e732 100755 --- a/test/filters/seccomp-su.exp +++ b/test/filters/seccomp-su.exp | |||
@@ -31,7 +31,8 @@ expect { | |||
31 | send -- "ping google.com\r" | 31 | send -- "ping google.com\r" |
32 | expect { | 32 | expect { |
33 | timeout {puts "TESTING ERROR 2\n";exit} | 33 | timeout {puts "TESTING ERROR 2\n";exit} |
34 | "Operation not permitted" | 34 | "Operation not permitted" {puts "OK\n"} |
35 | "unknown host" {puts "OK\n"} | ||
35 | } | 36 | } |
36 | 37 | ||
37 | send -- "exit\r" | 38 | send -- "exit\r" |
diff --git a/test/utils/trace.exp b/test/utils/trace.exp index 41058fd74..b562a6b49 100755 --- a/test/utils/trace.exp +++ b/test/utils/trace.exp | |||
@@ -79,6 +79,7 @@ expect { | |||
79 | timeout {puts "TESTING ERROR 8.6\n";exit} | 79 | timeout {puts "TESTING ERROR 8.6\n";exit} |
80 | "wget:fopen64 index.html" {puts "OK\n";} | 80 | "wget:fopen64 index.html" {puts "OK\n";} |
81 | "wget:fopen index.html" {puts "OK\n";} | 81 | "wget:fopen index.html" {puts "OK\n";} |
82 | "Parent is shutting down" {puts "OK\n";} | ||
82 | } | 83 | } |
83 | sleep 1 | 84 | sleep 1 |
84 | 85 | ||
@@ -89,7 +90,8 @@ expect { | |||
89 | } | 90 | } |
90 | expect { | 91 | expect { |
91 | timeout {puts "TESTING ERROR 10\n";exit} | 92 | timeout {puts "TESTING ERROR 10\n";exit} |
92 | "rm:unlinkat index.html" | 93 | "rm:unlinkat index.html" {puts "OK\n";} |
94 | "Parent is shutting down" {puts "OK\n";} | ||
93 | } | 95 | } |
94 | sleep 1 | 96 | sleep 1 |
95 | 97 | ||