diff options
author | netblue30 <netblue30@yahoo.com> | 2017-10-11 11:07:58 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-10-11 11:07:58 -0400 |
commit | ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75 (patch) | |
tree | bfbcbb88917e8274657f048cf8cff9440b75c087 /test | |
parent | fix --dns.print for systemd-resolvd systems (diff) | |
download | firejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.tar.gz firejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.tar.zst firejail-ee1a4a4424587c66aec5aafbe2d2aa30ce4c4e75.zip |
testing
Diffstat (limited to 'test')
-rwxr-xr-x | test/filters/noroot.exp | 1 | ||||
-rwxr-xr-x | test/fs/private-lib.exp | 6 |
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" | |||
11 | expect { | 11 | expect { |
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 | } |
16 | sleep 1 | 17 | 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 { | |||
14 | } | 14 | } |
15 | after 100 | 15 | after 100 |
16 | 16 | ||
17 | send -- "find /bin; echo done\r" | 17 | send -- "cd /bin; find .; echo done\r" |
18 | expect { | 18 | expect { |
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 | } |
24 | after 100 | 24 | after 100 |
25 | 25 | ||
26 | send -- "find /lib; echo done\r" | 26 | send -- "cd /lib; find .; echo done\r" |
27 | expect { | 27 | expect { |
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 | } |
33 | after 100 | 33 | after 100 |
34 | 34 | ||
35 | send -- "find /usr/lib; echo done\r" | 35 | send -- "cd /usr/lib; find .; echo done\r" |
36 | expect { | 36 | expect { |
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} |