diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/fs_chroot.exp | 2 | ||||
-rwxr-xr-x | test/fs_overlay.exp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/fs_chroot.exp b/test/fs_chroot.exp index cced5a0f0..aeb5669e1 100755 --- a/test/fs_chroot.exp +++ b/test/fs_chroot.exp | |||
@@ -7,7 +7,7 @@ match_max 100000 | |||
7 | send -- "firejail --chroot=/tmp/chroot\r" | 7 | send -- "firejail --chroot=/tmp/chroot\r" |
8 | expect { | 8 | expect { |
9 | timeout {puts "TESTING ERROR 0\n";exit} | 9 | timeout {puts "TESTING ERROR 0\n";exit} |
10 | "Error: --chroot option is not available on GRSecurity systems" {puts "\nall done\n"; exit} | 10 | "Error: --chroot option is not available on Grsecurity systems" {puts "\nall done\n"; exit} |
11 | "Child process initialized" {puts "chroot available\n"}; | 11 | "Child process initialized" {puts "chroot available\n"}; |
12 | } | 12 | } |
13 | sleep 1 | 13 | sleep 1 |
diff --git a/test/fs_overlay.exp b/test/fs_overlay.exp index 42d25b407..b7eeba80f 100755 --- a/test/fs_overlay.exp +++ b/test/fs_overlay.exp | |||
@@ -20,6 +20,7 @@ send -- "firejail --noprofile --overlay\r" | |||
20 | expect { | 20 | expect { |
21 | timeout {puts "TESTING ERROR 2\n";exit} | 21 | timeout {puts "TESTING ERROR 2\n";exit} |
22 | "not available for kernels older than 3.18" {puts "\nTESTING: overlayfs not available\n"; exit} | 22 | "not available for kernels older than 3.18" {puts "\nTESTING: overlayfs not available\n"; exit} |
23 | "Error: --overlay option is not available on Grsecurity systems" {puts "\nTESTING: overlayfs not available\n"; exit} | ||
23 | "Child process initialized" {puts "found\n"} | 24 | "Child process initialized" {puts "found\n"} |
24 | } | 25 | } |
25 | sleep 1 | 26 | sleep 1 |