diff options
Diffstat (limited to 'test/firemon-seccomp.exp')
-rwxr-xr-x | test/firemon-seccomp.exp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/test/firemon-seccomp.exp b/test/firemon-seccomp.exp deleted file mode 100755 index 55817faf3..000000000 --- a/test/firemon-seccomp.exp +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --noprofile --name=bingo1 --seccomp\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 1 | ||
13 | |||
14 | spawn $env(SHELL) | ||
15 | send -- "firejail --noprofile --name=bingo2\r" | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 0.1\n";exit} | ||
18 | "Child process initialized" | ||
19 | } | ||
20 | sleep 1 | ||
21 | |||
22 | |||
23 | |||
24 | |||
25 | spawn $env(SHELL) | ||
26 | send -- "firemon --seccomp\r" | ||
27 | expect { | ||
28 | timeout {puts "TESTING ERROR 1\n";exit} | ||
29 | "bingo1" | ||
30 | } | ||
31 | expect { | ||
32 | timeout {puts "TESTING ERROR 2\n";exit} | ||
33 | "Seccomp: 2" | ||
34 | } | ||
35 | expect { | ||
36 | timeout {puts "TESTING ERROR 3\n";exit} | ||
37 | "bingo2" | ||
38 | } | ||
39 | expect { | ||
40 | timeout {puts "TESTING ERROR 3\n";exit} | ||
41 | "Seccomp: 0" | ||
42 | } | ||
43 | after 100 | ||
44 | |||
45 | puts "all done\n" | ||