From f7cf74865e40ed0f27e7e35764d97a521d6b5c31 Mon Sep 17 00:00:00 2001 From: netblue Date: Thu, 24 Dec 2015 11:46:40 -0500 Subject: 0.9.36 testing --- test/fs_overlay.exp | 3 ++- test/option-trace.exp | 4 ---- test/profile_syntax.exp | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/test/fs_overlay.exp b/test/fs_overlay.exp index dcfe1e2e4..42d25b407 100755 --- a/test/fs_overlay.exp +++ b/test/fs_overlay.exp @@ -19,7 +19,8 @@ expect { send -- "firejail --noprofile --overlay\r" expect { timeout {puts "TESTING ERROR 2\n";exit} - "Child process initialized" + "not available for kernels older than 3.18" {puts "\nTESTING: overlayfs not available\n"; exit} + "Child process initialized" {puts "found\n"} } sleep 1 diff --git a/test/option-trace.exp b/test/option-trace.exp index 6fd113e2b..38038b58e 100755 --- a/test/option-trace.exp +++ b/test/option-trace.exp @@ -14,10 +14,6 @@ expect { "bash:open /dev/tty" {puts "64bit\n"} "bash:open64 /dev/tty" {puts "32bit\n"} } -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "bash:fopen /etc/passwd" -} expect { timeout {puts "TESTING ERROR 3\n";exit} "bash:access /etc/terminfo/x/xterm" {puts "debian\n"} diff --git a/test/profile_syntax.exp b/test/profile_syntax.exp index 5815bd619..559947276 100755 --- a/test/profile_syntax.exp +++ b/test/profile_syntax.exp @@ -14,6 +14,7 @@ sleep 2 send -- "cat /sbin/iptables\r" expect { timeout {puts "TESTING ERROR 2\n";exit} + "No such file" {puts "\nTESTING /sbin/iptables not found\n"} "Permission denied" } -- cgit v1.2.3-70-g09d2