diff options
author | 2016-11-03 15:06:57 +0100 | |
---|---|---|
committer | 2016-11-03 15:06:57 +0100 | |
commit | 2aafd9bd3a96b578bf423eb8faba0efe965c52d5 (patch) | |
tree | 6ab4d26a6daad1e3972a86dbdcbe67030d710883 /test/environment/allow-debuggers.exp | |
parent | Improvements for Zathura profile (diff) | |
parent | removed warning if --quiet is enabled (diff) | |
download | firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.gz firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.zst firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'test/environment/allow-debuggers.exp')
-rwxr-xr-x | test/environment/allow-debuggers.exp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/test/environment/allow-debuggers.exp b/test/environment/allow-debuggers.exp index dde9c4cc1..8a404decb 100755 --- a/test/environment/allow-debuggers.exp +++ b/test/environment/allow-debuggers.exp | |||
@@ -11,19 +11,27 @@ expect { | |||
11 | "Child process initialized" | 11 | "Child process initialized" |
12 | } | 12 | } |
13 | expect { | 13 | expect { |
14 | timeout {puts "TESTING ERROR 1\n";exit} | 14 | timeout {puts "TESTING ERROR 1\n";exit} |
15 | "exited with 0" | 15 | "ioctl" |
16 | } | ||
17 | expect { | ||
18 | timeout {puts "TESTING ERROR 2\n";exit} | ||
19 | "exit_group" | ||
16 | } | 20 | } |
17 | after 100 | 21 | after 100 |
18 | 22 | ||
19 | send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r" | 23 | send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r" |
20 | expect { | 24 | expect { |
21 | timeout {puts "TESTING ERROR 2\n";exit} | 25 | timeout {puts "TESTING ERROR 3\n";exit} |
22 | "Child process initialized" | 26 | "Child process initialized" |
23 | } | 27 | } |
24 | expect { | 28 | expect { |
25 | timeout {puts "TESTING ERROR 3\n";exit} | 29 | timeout {puts "TESTING ERROR 4\n";exit} |
26 | "exited with 0" | 30 | "ioctl" |
31 | } | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR 5\n";exit} | ||
34 | "exit_group" | ||
27 | } | 35 | } |
28 | after 100 | 36 | after 100 |
29 | 37 | ||