aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-06-02 17:42:50 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-06-02 17:42:50 -0400
commit8db3aea8599540ba750fdc328320986a581d24f0 (patch)
tree5e945d7d3f6d212c716e964af9bec85c4108eab3
parentlxc fixes (diff)
downloadfirejail-8db3aea8599540ba750fdc328320986a581d24f0.tar.gz
firejail-8db3aea8599540ba750fdc328320986a581d24f0.tar.zst
firejail-8db3aea8599540ba750fdc328320986a581d24f0.zip
lxc test fixes
-rwxr-xr-xtest/filters/seccomp-su.exp3
-rwxr-xr-xtest/utils/trace.exp4
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 {
31send -- "ping google.com\r" 31send -- "ping google.com\r"
32expect { 32expect {
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
37send -- "exit\r" 38send -- "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}
83sleep 1 84sleep 1
84 85
@@ -89,7 +90,8 @@ expect {
89} 90}
90expect { 91expect {
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}
94sleep 1 96sleep 1
95 97