aboutsummaryrefslogtreecommitdiffstats
path: root/test/seccomp-print.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 08:53:07 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-04-23 08:53:07 -0400
commit2905b9f9ab5c5ed6f9210d1d843a8bcf41451854 (patch)
treed3bb968dbcb9f22856de345d0df5ecf2a44d594f /test/seccomp-print.exp
parentquiterss profile (diff)
downloadfirejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.gz
firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.tar.zst
firejail-2905b9f9ab5c5ed6f9210d1d843a8bcf41451854.zip
make test-utils
Diffstat (limited to 'test/seccomp-print.exp')
-rwxr-xr-xtest/seccomp-print.exp33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/seccomp-print.exp b/test/seccomp-print.exp
deleted file mode 100755
index b4e6ed35e..000000000
--- a/test/seccomp-print.exp
+++ /dev/null
@@ -1,33 +0,0 @@
1#!/usr/bin/expect -f
2
3set timeout 10
4spawn $env(SHELL)
5match_max 100000
6
7send -- "firejail --name=test\r"
8expect {
9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized"
11}
12sleep 2
13
14spawn $env(SHELL)
15send -- "firejail --seccomp.print=test\r"
16expect {
17 timeout {puts "TESTING ERROR 1\n";exit}
18 "EXAMINE_SYSCAL"
19}
20expect {
21 timeout {puts "TESTING ERROR 2\n";exit}
22 "init_module"
23}
24expect {
25 timeout {puts "TESTING ERROR 3\n";exit}
26 "delete_module"
27}
28expect {
29 timeout {puts "TESTING ERROR 4\n";exit}
30 "RETURN_ALLOW"
31}
32sleep 1
33puts "\nall done\n"