aboutsummaryrefslogtreecommitdiffstats
path: root/test/seccomp-dualfilter.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-30 07:27:31 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-30 07:27:31 -0400
commita1272742cfbdbfe999a701f804b58ceb4605713d (patch)
tree16d6013c8d99d9e4370d1672b4018f958081f416 /test/seccomp-dualfilter.exp
parentMerge pull request #490 from reinerh/master (diff)
downloadfirejail-a1272742cfbdbfe999a701f804b58ceb4605713d.tar.gz
firejail-a1272742cfbdbfe999a701f804b58ceb4605713d.tar.zst
firejail-a1272742cfbdbfe999a701f804b58ceb4605713d.zip
added make test-filters
Diffstat (limited to 'test/seccomp-dualfilter.exp')
-rwxr-xr-xtest/seccomp-dualfilter.exp38
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
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail ../src/tools/syscall_test mount\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12expect {
13 timeout {puts "TESTING ERROR 1\n";exit}
14 "before mount"
15}
16expect {
17 timeout {puts "TESTING ERROR 2\n";exit}
18 "after mount" {puts "TESTING ERROR 2.1\n";exit}
19 "Parent is shutting down"
20}
21sleep 1
22
23send -- "firejail ../src/tools/syscall_test32 mount\r"
24expect {
25 timeout {puts "TESTING ERROR 3\n";exit}
26 "Child process initialized"
27}
28expect {
29 timeout {puts "TESTING ERROR 4\n";exit}
30 "before mount"
31}
32expect {
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
38puts "\nall done\n"