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-dualfilter.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-dualfilter.exp')
-rwxr-xr-x | test/seccomp-dualfilter.exp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test/seccomp-dualfilter.exp b/test/seccomp-dualfilter.exp deleted file mode 100755 index afdf8a53a..000000000 --- a/test/seccomp-dualfilter.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 ../src/tools/syscall_test mount\r" | ||
8 | expect { | ||
9 | timeout {puts "TESTING ERROR 0\n";exit} | ||
10 | "Child process initialized" | ||
11 | } | ||
12 | expect { | ||
13 | timeout {puts "TESTING ERROR 1\n";exit} | ||
14 | "before mount" | ||
15 | } | ||
16 | expect { | ||
17 | timeout {puts "TESTING ERROR 2\n";exit} | ||
18 | "after mount" {puts "TESTING ERROR 2.1\n";exit} | ||
19 | "Parent is shutting down" | ||
20 | } | ||
21 | sleep 1 | ||
22 | |||
23 | send -- "firejail ../src/tools/syscall_test32 mount\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR 3\n";exit} | ||
26 | "Child process initialized" | ||
27 | } | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 4\n";exit} | ||
30 | "before mount" | ||
31 | } | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 5\n";exit} | ||
34 | "after mount" {puts "TESTING ERROR 5.1\n";exit} | ||
35 | "Parent is shutting down" | ||
36 | } | ||
37 | |||
38 | puts "\nall done\n" | ||