aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters/seccomp-postexec.exp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-12-19 13:05:16 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2021-12-19 13:05:16 -0500
commit96cec210f8bd86667722b09beb5a3a67b21ec50f (patch)
treeaa3df5777eb784bec3f8535b92ee4eba00bdbef9 /test/filters/seccomp-postexec.exp
parenttesting (diff)
downloadfirejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.gz
firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.tar.zst
firejail-96cec210f8bd86667722b09beb5a3a67b21ec50f.zip
fix make test-filter
Diffstat (limited to 'test/filters/seccomp-postexec.exp')
-rwxr-xr-xtest/filters/seccomp-postexec.exp19
1 files changed, 8 insertions, 11 deletions
diff --git a/test/filters/seccomp-postexec.exp b/test/filters/seccomp-postexec.exp
index 18263520a..fe0e40e60 100755
--- a/test/filters/seccomp-postexec.exp
+++ b/test/filters/seccomp-postexec.exp
@@ -14,20 +14,17 @@ expect {
14} 14}
15expect { 15expect {
16 timeout {puts "TESTING ERROR 1\n";exit} 16 timeout {puts "TESTING ERROR 1\n";exit}
17 "data.architecture"
18}
19expect {
20 timeout {puts "TESTING ERROR 2\n";exit}
21 "monitoring pid" 17 "monitoring pid"
22} 18}
19sleep 1
20
21send -- "ls\r"
23expect { 22expect {
24 timeout {puts "TESTING ERROR 3\n";exit} 23 timeout {puts "TESTING ERROR 2\n";exit}
25 "Sandbox monitor: waitpid" 24 "not permitted"
26}
27expect {
28 timeout {puts "TESTING ERROR 4\n";exit}
29 "Parent is shutting down"
30} 25}
31sleep 1
32 26
27
28send -- "exit\r"
29after 100
33puts "all done\n" 30puts "all done\n"