aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue <netblue@linux-b1ry.myhome.westell.com>2015-12-24 11:46:40 -0500
committerLibravatar netblue <netblue@linux-b1ry.myhome.westell.com>2015-12-24 11:46:40 -0500
commitf7cf74865e40ed0f27e7e35764d97a521d6b5c31 (patch)
treec5531093e49e03dea8875bcf5f20c782206a4d10 /test
parent0.9.36 testing (diff)
downloadfirejail-f7cf74865e40ed0f27e7e35764d97a521d6b5c31.tar.gz
firejail-f7cf74865e40ed0f27e7e35764d97a521d6b5c31.tar.zst
firejail-f7cf74865e40ed0f27e7e35764d97a521d6b5c31.zip
0.9.36 testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/fs_overlay.exp3
-rwxr-xr-xtest/option-trace.exp4
-rwxr-xr-xtest/profile_syntax.exp1
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 {
19send -- "firejail --noprofile --overlay\r" 19send -- "firejail --noprofile --overlay\r"
20expect { 20expect {
21 timeout {puts "TESTING ERROR 2\n";exit} 21 timeout {puts "TESTING ERROR 2\n";exit}
22 "Child process initialized" 22 "not available for kernels older than 3.18" {puts "\nTESTING: overlayfs not available\n"; exit}
23 "Child process initialized" {puts "found\n"}
23} 24}
24sleep 1 25sleep 1
25 26
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
@@ -15,10 +15,6 @@ expect {
15 "bash:open64 /dev/tty" {puts "32bit\n"} 15 "bash:open64 /dev/tty" {puts "32bit\n"}
16} 16}
17expect { 17expect {
18 timeout {puts "TESTING ERROR 2\n";exit}
19 "bash:fopen /etc/passwd"
20}
21expect {
22 timeout {puts "TESTING ERROR 3\n";exit} 18 timeout {puts "TESTING ERROR 3\n";exit}
23 "bash:access /etc/terminfo/x/xterm" {puts "debian\n"} 19 "bash:access /etc/terminfo/x/xterm" {puts "debian\n"}
24 "bash:access /usr/share/terminfo/x/xterm" {puts "arch\n"} 20 "bash:access /usr/share/terminfo/x/xterm" {puts "arch\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
14send -- "cat /sbin/iptables\r" 14send -- "cat /sbin/iptables\r"
15expect { 15expect {
16 timeout {puts "TESTING ERROR 2\n";exit} 16 timeout {puts "TESTING ERROR 2\n";exit}
17 "No such file" {puts "\nTESTING /sbin/iptables not found\n"}
17 "Permission denied" 18 "Permission denied"
18} 19}
19 20