From c1b25cefcc009dc9445342f486fa03c8757a5f74 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 30 Apr 2016 21:00:04 +0200 Subject: test/filters: some additional checks about testing environment --- test/filters/seccomp-dualfilter.exp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'test/filters/seccomp-dualfilter.exp') 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 send -- "firejail ./syscall_test32 mount\r" expect { - timeout {puts "TESTING ERROR 3\n";exit} - "Child process initialized" + "syscall_test32: No such file or directory" {puts "\nTESTING SKIP 3: can't execute 32 bit binary\n"; exit} } expect { timeout {puts "TESTING ERROR 4\n";exit} - "before mount" + "Child process initialized" } expect { timeout {puts "TESTING ERROR 5\n";exit} - "after mount" {puts "TESTING ERROR 5.1\n";exit} + "before mount" +} +expect { + timeout {puts "TESTING ERROR 6\n";exit} + "after mount" {puts "TESTING ERROR 6.1\n";exit} "Parent is shutting down" } -- cgit v1.2.3-70-g09d2