aboutsummaryrefslogtreecommitdiffstats
path: root/test/filters
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 09:12:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 09:12:52 -0400
commitead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac (patch)
tree612f9b5fdd59e97e545834df1a715b0d09d0d735 /test/filters
parenttesting (diff)
downloadfirejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.tar.gz
firejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.tar.zst
firejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.zip
testing
Diffstat (limited to 'test/filters')
-rwxr-xr-xtest/filters/seccomp-chmod-profile.exp4
-rwxr-xr-xtest/filters/seccomp-chmod.exp4
-rwxr-xr-xtest/filters/seccomp-debug-32.exp3
-rwxr-xr-xtest/filters/seccomp-debug.exp3
4 files changed, 12 insertions, 2 deletions
diff --git a/test/filters/seccomp-chmod-profile.exp b/test/filters/seccomp-chmod-profile.exp
index 22615420d..fb4d0665b 100755
--- a/test/filters/seccomp-chmod-profile.exp
+++ b/test/filters/seccomp-chmod-profile.exp
@@ -12,8 +12,10 @@ expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Child process initialized" 13 "Child process initialized"
14} 14}
15sleep 2 15sleep 1
16 16
17send -- "stty -echo\r"
18after 100
17send -- "cd ~; echo done\r" 19send -- "cd ~; echo done\r"
18expect { 20expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 21 timeout {puts "TESTING ERROR 1\n";exit}
diff --git a/test/filters/seccomp-chmod.exp b/test/filters/seccomp-chmod.exp
index 35c6f69c2..1dd9633c2 100755
--- a/test/filters/seccomp-chmod.exp
+++ b/test/filters/seccomp-chmod.exp
@@ -12,8 +12,10 @@ expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 12 timeout {puts "TESTING ERROR 0\n";exit}
13 "Child process initialized" 13 "Child process initialized"
14} 14}
15sleep 2 15sleep 1
16 16
17send -- "stty -echo\r"
18after 100
17send -- "cd ~; echo done\r" 19send -- "cd ~; echo done\r"
18expect { 20expect {
19 timeout {puts "TESTING ERROR 1\n";exit} 21 timeout {puts "TESTING ERROR 1\n";exit}
diff --git a/test/filters/seccomp-debug-32.exp b/test/filters/seccomp-debug-32.exp
index 098b309f5..57087a0b3 100755
--- a/test/filters/seccomp-debug-32.exp
+++ b/test/filters/seccomp-debug-32.exp
@@ -7,6 +7,9 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "stty -echo\r"
11after 100
12
10send -- "firejail --debug sleep 1; echo done\r" 13send -- "firejail --debug sleep 1; echo done\r"
11expect { 14expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 15 timeout {puts "TESTING ERROR 0\n";exit}
diff --git a/test/filters/seccomp-debug.exp b/test/filters/seccomp-debug.exp
index 4986a6bf6..f90bbfa03 100755
--- a/test/filters/seccomp-debug.exp
+++ b/test/filters/seccomp-debug.exp
@@ -7,6 +7,9 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "stty -echo\r"
11after 100
12
10send -- "firejail --debug sleep 1; echo done\r" 13send -- "firejail --debug sleep 1; echo done\r"
11expect { 14expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 15 timeout {puts "TESTING ERROR 0\n";exit}