aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-09-01 11:45:23 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-09-01 11:45:23 -0400
commit83781d0de57e584077848a7b19f291b1d9d9d604 (patch)
tree39132acf39129106d78b8c67f98fc2ba73f5a386 /test
parentMerge pull request #53 from sarneaud/noblacklist (diff)
downloadfirejail-83781d0de57e584077848a7b19f291b1d9d9d604.tar.gz
firejail-83781d0de57e584077848a7b19f291b1d9d9d604.tar.zst
firejail-83781d0de57e584077848a7b19f291b1d9d9d604.zip
testing, admin work
Diffstat (limited to 'test')
-rwxr-xr-xtest/profile_syntax2.exp4
-rwxr-xr-xtest/seccomp-debug.exp10
2 files changed, 5 insertions, 9 deletions
diff --git a/test/profile_syntax2.exp b/test/profile_syntax2.exp
index cd514aa0e..7c5d1b5cd 100755
--- a/test/profile_syntax2.exp
+++ b/test/profile_syntax2.exp
@@ -28,11 +28,11 @@ expect {
28} 28}
29expect { 29expect {
30 timeout {puts "TESTING ERROR 5\n";exit} 30 timeout {puts "TESTING ERROR 5\n";exit}
31 "Initialize seccomp filter" 31 "SECCOMP Filter"
32} 32}
33expect { 33expect {
34 timeout {puts "TESTING ERROR 6\n";exit} 34 timeout {puts "TESTING ERROR 6\n";exit}
35 "Blacklisting syscall" 35 "BLACKLIST"
36} 36}
37expect { 37expect {
38 timeout {puts "TESTING ERROR 7\n";exit} 38 timeout {puts "TESTING ERROR 7\n";exit}
diff --git a/test/seccomp-debug.exp b/test/seccomp-debug.exp
index a7b89912a..1034f040e 100755
--- a/test/seccomp-debug.exp
+++ b/test/seccomp-debug.exp
@@ -7,11 +7,7 @@ match_max 100000
7send -- "firejail --seccomp --debug\r" 7send -- "firejail --seccomp --debug\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Blacklisting syscall" 10 "SECCOMP Filter"
11}
12expect {
13 timeout {puts "TESTING ERROR 1\n";exit}
14 "open_by_handle_at"
15} 11}
16expect { 12expect {
17 timeout {puts "TESTING ERROR 2\n";exit} 13 timeout {puts "TESTING ERROR 2\n";exit}
@@ -28,5 +24,5 @@ expect {
28sleep 2 24sleep 2
29 25
30send -- "exit\r" 26send -- "exit\r"
31sleep 1 27after 100
32puts "\n" 28puts "all done\n"