diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-30 07:27:31 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-30 07:27:31 -0400 |
commit | a1272742cfbdbfe999a701f804b58ceb4605713d (patch) | |
tree | 16d6013c8d99d9e4370d1672b4018f958081f416 /test/seccomp-ptrace.exp | |
parent | Merge pull request #490 from reinerh/master (diff) | |
download | firejail-a1272742cfbdbfe999a701f804b58ceb4605713d.tar.gz firejail-a1272742cfbdbfe999a701f804b58ceb4605713d.tar.zst firejail-a1272742cfbdbfe999a701f804b58ceb4605713d.zip |
added make test-filters
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" | ||