aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-05-03 13:16:33 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-05-03 13:16:33 -0400
commitf2f331553c5fe3c78a44e9a0b0b9026fcb59745a (patch)
treee6033bf3f51a0a851fb8bfc4d5f34cc57f118396 /test
parenttesting (diff)
downloadfirejail-f2f331553c5fe3c78a44e9a0b0b9026fcb59745a.tar.gz
firejail-f2f331553c5fe3c78a44e9a0b0b9026fcb59745a.tar.zst
firejail-f2f331553c5fe3c78a44e9a0b0b9026fcb59745a.zip
test fixes
Diffstat (limited to 'test')
-rwxr-xr-xtest/filters/noroot.exp1
-rwxr-xr-xtest/filters/seccomp-dualfilter.exp7
2 files changed, 4 insertions, 4 deletions
diff --git a/test/filters/noroot.exp b/test/filters/noroot.exp
index a1f6ce88d..7f4f189ee 100755
--- a/test/filters/noroot.exp
+++ b/test/filters/noroot.exp
@@ -10,6 +10,7 @@ match_max 100000
10send -- "firejail --noprofile --noroot --caps.drop=all --seccomp\r" 10send -- "firejail --noprofile --noroot --caps.drop=all --seccomp\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 1\n";exit} 12 timeout {puts "TESTING ERROR 1\n";exit}
13 "cannot create a new user namespace" {puts "TESTING SKIP: user namespace not available\n"; exit}
13 "Child process initialized" 14 "Child process initialized"
14} 15}
15sleep 1 16sleep 1
diff --git a/test/filters/seccomp-dualfilter.exp b/test/filters/seccomp-dualfilter.exp
index 7c964d5c3..7efc117da 100755
--- a/test/filters/seccomp-dualfilter.exp
+++ b/test/filters/seccomp-dualfilter.exp
@@ -25,10 +25,9 @@ sleep 1
25 25
26send -- "firejail ./syscall_test32 mount\r" 26send -- "firejail ./syscall_test32 mount\r"
27expect { 27expect {
28 "syscall_test32: No such file or directory" {puts "\nTESTING SKIP 3: can't execute 32 bit binary\n"; exit} 28 timeout {puts "TESTING ERROR 4\n";exit}
29} 29 "No such file or directory" {puts "\nTESTING SKIP 3: can't execute 32 bit binary\n"; exit}
30expect { 30 "Parent is shutting down, bye" {puts "\nTESTING SKIP 3: can't execute 32 bit binary\n"; exit}
31 timeout {puts "TESTING ERROR 4\n";exit}
32 "Child process initialized" 31 "Child process initialized"
33} 32}
34expect { 33expect {