From 8db3aea8599540ba750fdc328320986a581d24f0 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 2 Jun 2016 17:42:50 -0400 Subject: lxc test fixes --- test/filters/seccomp-su.exp | 3 ++- 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 { send -- "ping google.com\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "Operation not permitted" + "Operation not permitted" {puts "OK\n"} + "unknown host" {puts "OK\n"} } 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 { timeout {puts "TESTING ERROR 8.6\n";exit} "wget:fopen64 index.html" {puts "OK\n";} "wget:fopen index.html" {puts "OK\n";} + "Parent is shutting down" {puts "OK\n";} } sleep 1 @@ -89,7 +90,8 @@ expect { } expect { timeout {puts "TESTING ERROR 10\n";exit} - "rm:unlinkat index.html" + "rm:unlinkat index.html" {puts "OK\n";} + "Parent is shutting down" {puts "OK\n";} } sleep 1 -- cgit v1.2.3-54-g00ecf