aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/seccomp-dualfilter.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-12-19 13:05:16 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2021-12-19 13:05:16 -0500
commit96cec210f8bd86667722b09beb5a3a67b21ec50f (patch)
treeaa3df5777eb784bec3f8535b92ee4eba00bdbef9 /test/filters/seccomp-dualfilter.exp
parenttesting (diff)
downloadfirejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.gz
firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.zst
firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.zip
fix make test-filter
Diffstat (limited to 'test/filters/seccomp-dualfilter.exp')
-rwxr-xr-xtest/filters/seccomp-dualfilter.exp55
1 files changed, 0 insertions, 55 deletions
diff --git a/test/filters/seccomp-dualfilter.exp b/test/filters/seccomp-dualfilter.exp
deleted file mode 100755
index e655be848..000000000
--- a/test/filters/seccomp-dualfilter.exp
+++ /dev/null
@@ -1,55 +0,0 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2021 Firejail Authors
4# License GPL v2
5
6set timeout 1
7spawn $env(SHELL)
8match_max 100000
9
10send -- "./syscall_test\r"
11expect {
12 timeout {puts "\nTESTING SKIP: 64-bit support missing\n";exit}
13 "Usage"
14}
15
16send -- "./syscall_test32\r"
17expect {
18 timeout {puts "\nTESTING SKIP: 32-bit support missing\n";exit}
19 "Usage"
20}
21
22set timeout 10
23send -- "firejail ./syscall_test mount\r"
24expect {
25 timeout {puts "TESTING ERROR 0\n";exit}
26 "Child process initialized"
27}
28expect {
29 timeout {puts "TESTING ERROR 1\n";exit}
30 "before mount"
31}
32expect {
33 timeout {puts "TESTING ERROR 2\n";exit}
34 "after mount" {puts "TESTING ERROR 3\n";exit}
35 "Parent is shutting down"
36}
37sleep 1
38
39send -- "firejail ./syscall_test32 mount\r"
40expect {
41 timeout {puts "TESTING ERROR 4\n";exit}
42 "Child process initialized"
43}
44expect {
45 timeout {puts "TESTING ERROR 5\n";exit}
46 "before mount"
47}
48expect {
49 timeout {puts "TESTING ERROR 6\n";exit}
50 "after mount" {puts "TESTING ERROR 7\n";exit}
51 "Parent is shutting down"
52}
53
54after 100
55puts "\nall done\n"