diff options
Diffstat (limited to 'test/seccomp-ptrace.exp')
-rwxr-xr-x | test/seccomp-ptrace.exp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/seccomp-ptrace.exp b/test/seccomp-ptrace.exp deleted file mode 100755 index 9a9b7430e..000000000 --- a/test/seccomp-ptrace.exp +++ /dev/null | |||
@@ -1,23 +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 --seccomp\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | sleep 2 | ||
13 | |||
14 | send -- "strace ls\r" | ||
15 | expect { | ||
16 | timeout {puts "TESTING ERROR 1\n";exit} | ||
17 | "Bad system call" {puts "version 1\n";} | ||
18 | " unexpected signal 31" {puts "version 2\n"} | ||
19 | } | ||
20 | |||
21 | send -- "exit\r" | ||
22 | sleep 1 | ||
23 | puts "all done\n" | ||