From ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 11 Oct 2017 11:07:58 -0400 Subject: testing --- test/filters/noroot.exp | 1 + test/fs/private-lib.exp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/filters/noroot.exp b/test/filters/noroot.exp index 2c7218c87..838beca62 100755 --- a/test/filters/noroot.exp +++ b/test/filters/noroot.exp @@ -11,6 +11,7 @@ send -- "firejail --noprofile --noroot --caps.drop=all --seccomp\r" expect { timeout {puts "TESTING ERROR 1\n";exit} "cannot create a new user namespace" {puts "TESTING SKIP: user namespace not available\n"; exit} + "noroot option is not available" {puts "TESTING SKIP: user namespace not available\n"; exit} "Child process initialized" } sleep 1 diff --git a/test/fs/private-lib.exp b/test/fs/private-lib.exp index dd418da0f..fd127bdb3 100755 --- a/test/fs/private-lib.exp +++ b/test/fs/private-lib.exp @@ -14,7 +14,7 @@ expect { } after 100 -send -- "find /bin; echo done\r" +send -- "cd /bin; find .; echo done\r" expect { timeout {puts "TESTING ERROR 2\n";exit} "rm" {puts "TESTING ERROR 3\n";exit} @@ -23,7 +23,7 @@ expect { } after 100 -send -- "find /lib; echo done\r" +send -- "cd /lib; find .; echo done\r" expect { timeout {puts "TESTING ERROR 5\n";exit} "modules" {puts "TESTING ERROR 6\n";exit} @@ -32,7 +32,7 @@ expect { } after 100 -send -- "find /usr/lib; echo done\r" +send -- "cd /usr/lib; find .; echo done\r" expect { timeout {puts "TESTING ERROR 8\n";exit} "grub" {puts "TESTING ERROR 9\n";exit} -- cgit v1.2.3-54-g00ecf