diff options
author | 2016-04-30 07:27:31 -0400 | |
---|---|---|
committer | 2016-04-30 07:27:31 -0400 | |
commit | a1272742cfbdbfe999a701f804b58ceb4605713d (patch) | |
tree | 16d6013c8d99d9e4370d1672b4018f958081f416 /test/seccomp-bad-empty.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-bad-empty.exp')
-rwxr-xr-x | test/seccomp-bad-empty.exp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/seccomp-bad-empty.exp b/test/seccomp-bad-empty.exp deleted file mode 100755 index 631d67743..000000000 --- a/test/seccomp-bad-empty.exp +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | #!/usr/bin/expect -f | ||
2 | |||
3 | set timeout 10 | ||
4 | spawn $env(SHELL) | ||
5 | match_max 100000 | ||
6 | |||
7 | send -- "firejail --seccomp=\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Error: empty syscall lists are not allowed" | ||
11 | } | ||
12 | |||
13 | send -- "firejail --seccomp.drop=\r" | ||
14 | expect { | ||
15 | timeout {puts "TESTING ERROR 2\n";exit} | ||
16 | "Error: empty syscall lists are not allowed" | ||
17 | } | ||
18 | |||
19 | send -- "firejail --seccomp.keep=\r" | ||
20 | expect { | ||
21 | timeout {puts "TESTING ERROR 4\n";exit} | ||
22 | "Error: empty syscall lists are not allowed" | ||
23 | } | ||
24 | |||
25 | send -- "firejail --profile=seccomp-bad-empty.profile\r" | ||
26 | expect { | ||
27 | timeout {puts "TESTING ERROR 6\n";exit} | ||
28 | "Error: line 1 in seccomp-bad-empty.profile is invalid" | ||
29 | } | ||
30 | |||
31 | send -- "firejail --profile=seccomp-bad-empty2.profile\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 7\n";exit} | ||
34 | "Error: line 1 in seccomp-bad-empty2.profile is invalid" | ||
35 | } | ||
36 | sleep 1 | ||
37 | puts "\nall done\n" | ||
38 | |||