diff options
author | netblue30 <netblue30@yahoo.com> | 2016-06-02 17:42:50 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-06-02 17:42:50 -0400 |
commit | 8db3aea8599540ba750fdc328320986a581d24f0 (patch) | |
tree | 5e945d7d3f6d212c716e964af9bec85c4108eab3 | |
parent | lxc fixes (diff) | |
download | firejail-8db3aea8599540ba750fdc328320986a581d24f0.tar.gz firejail-8db3aea8599540ba750fdc328320986a581d24f0.tar.zst firejail-8db3aea8599540ba750fdc328320986a581d24f0.zip |
lxc test fixes
-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 | ||