diff options
Diffstat (limited to 'test/option_chroot_overlay.exp')
-rwxr-xr-x | test/option_chroot_overlay.exp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/option_chroot_overlay.exp b/test/option_chroot_overlay.exp deleted file mode 100755 index 08ffb1b43..000000000 --- a/test/option_chroot_overlay.exp +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --chroot=/tmp/chroot --overlay\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "mutually exclusive" {puts "normal system\n"} | ||
11 | "Error: --chroot option is not available on Grsecurity systems" { puts "\nall done\n"; exit} | ||
12 | } | ||
13 | sleep 1 | ||
14 | |||
15 | send -- "firejail --overlay --chroot=/tmp/chroot\r" | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 0\n";exit} | ||
18 | "mutually exclusive" | ||
19 | } | ||
20 | sleep 1 | ||
21 | |||
22 | puts "\n" | ||