aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-10-11 11:07:58 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-10-11 11:07:58 -0400
commitee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75 (patch)
treebfbcbb88917e8274657f048cf8cff9440b75c087
parentfix --dns.print for systemd-resolvd systems (diff)
downloadfirejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.tar.gz
firejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.tar.zst
firejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.zip
testing
-rwxr-xr-xtest/filters/noroot.exp1
-rwxr-xr-xtest/fs/private-lib.exp6
2 files changed, 4 insertions, 3 deletions
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"
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 "cannot create a new user namespace" {puts "TESTING SKIP: user namespace not available\n"; exit}
14 "noroot option is not available" {puts "TESTING SKIP: user namespace not available\n"; exit}
14 "Child process initialized" 15 "Child process initialized"
15} 16}
16sleep 1 17sleep 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 {
14} 14}
15after 100 15after 100
16 16
17send -- "find /bin; echo done\r" 17send -- "cd /bin; find .; echo done\r"
18expect { 18expect {
19 timeout {puts "TESTING ERROR 2\n";exit} 19 timeout {puts "TESTING ERROR 2\n";exit}
20 "rm" {puts "TESTING ERROR 3\n";exit} 20 "rm" {puts "TESTING ERROR 3\n";exit}
@@ -23,7 +23,7 @@ expect {
23} 23}
24after 100 24after 100
25 25
26send -- "find /lib; echo done\r" 26send -- "cd /lib; find .; echo done\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 5\n";exit} 28 timeout {puts "TESTING ERROR 5\n";exit}
29 "modules" {puts "TESTING ERROR 6\n";exit} 29 "modules" {puts "TESTING ERROR 6\n";exit}
@@ -32,7 +32,7 @@ expect {
32} 32}
33after 100 33after 100
34 34
35send -- "find /usr/lib; echo done\r" 35send -- "cd /usr/lib; find .; echo done\r"
36expect { 36expect {
37 timeout {puts "TESTING ERROR 8\n";exit} 37 timeout {puts "TESTING ERROR 8\n";exit}
38 "grub" {puts "TESTING ERROR 9\n";exit} 38 "grub" {puts "TESTING ERROR 9\n";exit}