diff options
author | netblue30 <netblue30@yahoo.com> | 2017-10-30 09:12:52 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-10-30 09:12:52 -0400 |
commit | ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac (patch) | |
tree | 612f9b5fdd59e97e545834df1a715b0d09d0d735 /test/filters | |
parent | testing (diff) | |
download | firejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.tar.gz firejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.tar.zst firejail-ead373fcb9a79e6cdc7aff88d3c0d6e44c9400ac.zip |
testing
Diffstat (limited to 'test/filters')
-rwxr-xr-x | test/filters/seccomp-chmod-profile.exp | 4 | ||||
-rwxr-xr-x | test/filters/seccomp-chmod.exp | 4 | ||||
-rwxr-xr-x | test/filters/seccomp-debug-32.exp | 3 | ||||
-rwxr-xr-x | test/filters/seccomp-debug.exp | 3 |
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 | } |
15 | sleep 2 | 15 | sleep 1 |
16 | 16 | ||
17 | send -- "stty -echo\r" | ||
18 | after 100 | ||
17 | send -- "cd ~; echo done\r" | 19 | send -- "cd ~; echo done\r" |
18 | expect { | 20 | expect { |
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 | } |
15 | sleep 2 | 15 | sleep 1 |
16 | 16 | ||
17 | send -- "stty -echo\r" | ||
18 | after 100 | ||
17 | send -- "cd ~; echo done\r" | 19 | send -- "cd ~; echo done\r" |
18 | expect { | 20 | expect { |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "stty -echo\r" | ||
11 | after 100 | ||
12 | |||
10 | send -- "firejail --debug sleep 1; echo done\r" | 13 | send -- "firejail --debug sleep 1; echo done\r" |
11 | expect { | 14 | expect { |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "stty -echo\r" | ||
11 | after 100 | ||
12 | |||
10 | send -- "firejail --debug sleep 1; echo done\r" | 13 | send -- "firejail --debug sleep 1; echo done\r" |
11 | expect { | 14 | expect { |
12 | timeout {puts "TESTING ERROR 0\n";exit} | 15 | timeout {puts "TESTING ERROR 0\n";exit} |