diff options
author | 2021-12-19 13:05:16 -0500 | |
---|---|---|
committer | 2021-12-19 13:05:16 -0500 | |
commit | 96cec210f8bd86667722b09beb5a3a67b21ec50f (patch) | |
tree | aa3df5777eb784bec3f8535b92ee4eba00bdbef9 /test/filters/seccomp-dualfilter.exp | |
parent | testing (diff) | |
download | firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.gz firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.zst firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.zip |
fix make test-filter
Diffstat (limited to 'test/filters/seccomp-dualfilter.exp')
-rwxr-xr-x | test/filters/seccomp-dualfilter.exp | 55 |
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 | |||
6 | set timeout 1 | ||
7 | spawn $env(SHELL) | ||
8 | match_max 100000 | ||
9 | |||
10 | send -- "./syscall_test\r" | ||
11 | expect { | ||
12 | timeout {puts "\nTESTING SKIP: 64-bit support missing\n";exit} | ||
13 | "Usage" | ||
14 | } | ||
15 | |||
16 | send -- "./syscall_test32\r" | ||
17 | expect { | ||
18 | timeout {puts "\nTESTING SKIP: 32-bit support missing\n";exit} | ||
19 | "Usage" | ||
20 | } | ||
21 | |||
22 | set timeout 10 | ||
23 | send -- "firejail ./syscall_test mount\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR 0\n";exit} | ||
26 | "Child process initialized" | ||
27 | } | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR 1\n";exit} | ||
30 | "before mount" | ||
31 | } | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 2\n";exit} | ||
34 | "after mount" {puts "TESTING ERROR 3\n";exit} | ||
35 | "Parent is shutting down" | ||
36 | } | ||
37 | sleep 1 | ||
38 | |||
39 | send -- "firejail ./syscall_test32 mount\r" | ||
40 | expect { | ||
41 | timeout {puts "TESTING ERROR 4\n";exit} | ||
42 | "Child process initialized" | ||
43 | } | ||
44 | expect { | ||
45 | timeout {puts "TESTING ERROR 5\n";exit} | ||
46 | "before mount" | ||
47 | } | ||
48 | expect { | ||
49 | timeout {puts "TESTING ERROR 6\n";exit} | ||
50 | "after mount" {puts "TESTING ERROR 7\n";exit} | ||
51 | "Parent is shutting down" | ||
52 | } | ||
53 | |||
54 | after 100 | ||
55 | puts "\nall done\n" | ||