summaryrefslogtreecommitdiffstats
path: root/test/filters/seccomp-dualfilter.exp
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-04-30 21:00:04 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-04-30 21:00:04 +0200
commitc1b25cefcc009dc9445342f486fa03c8757a5f74 (patch)
tree1a1e593ae0fa81f25615d7926e839773ae1a8cf9 /test/filters/seccomp-dualfilter.exp
parentmake test-filters fixes (diff)
downloadfirejail-c1b25cefcc009dc9445342f486fa03c8757a5f74.tar.gz
firejail-c1b25cefcc009dc9445342f486fa03c8757a5f74.tar.zst
firejail-c1b25cefcc009dc9445342f486fa03c8757a5f74.zip
test/filters: some additional checks about testing environment
Diffstat (limited to 'test/filters/seccomp-dualfilter.exp')
-rwxr-xr-xtest/filters/seccomp-dualfilter.exp11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/filters/seccomp-dualfilter.exp b/test/filters/seccomp-dualfilter.exp
index 26b36236a..7c964d5c3 100755
--- a/test/filters/seccomp-dualfilter.exp
+++ b/test/filters/seccomp-dualfilter.exp
@@ -25,16 +25,19 @@ sleep 1
25 25
26send -- "firejail ./syscall_test32 mount\r" 26send -- "firejail ./syscall_test32 mount\r"
27expect { 27expect {
28 timeout {puts "TESTING ERROR 3\n";exit} 28 "syscall_test32: No such file or directory" {puts "\nTESTING SKIP 3: can't execute 32 bit binary\n"; exit}
29 "Child process initialized"
30} 29}
31expect { 30expect {
32 timeout {puts "TESTING ERROR 4\n";exit} 31 timeout {puts "TESTING ERROR 4\n";exit}
33 "before mount" 32 "Child process initialized"
34} 33}
35expect { 34expect {
36 timeout {puts "TESTING ERROR 5\n";exit} 35 timeout {puts "TESTING ERROR 5\n";exit}
37 "after mount" {puts "TESTING ERROR 5.1\n";exit} 36 "before mount"
37}
38expect {
39 timeout {puts "TESTING ERROR 6\n";exit}
40 "after mount" {puts "TESTING ERROR 6.1\n";exit}
38 "Parent is shutting down" 41 "Parent is shutting down"
39} 42}
40 43