summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-14 08:34:04 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-10-14 08:34:04 -0400
commit82c6ce3168de710dc41ae4065610257c911848bb (patch)
treecddc6d42c867d8e5bf8c64a27c3fb5b32b59219e
parentcherrytree fix (diff)
downloadfirejail-82c6ce3168de710dc41ae4065610257c911848bb.tar.gz
firejail-82c6ce3168de710dc41ae4065610257c911848bb.tar.zst
firejail-82c6ce3168de710dc41ae4065610257c911848bb.zip
0.9.44~rc1 testing0.9.44-rc1
-rw-r--r--Makefile.in2
-rwxr-xr-xtest/environment/allow-debuggers.exp18
2 files changed, 14 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index ad81c8851..9574c74bc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -216,5 +216,5 @@ test-network:
216test-fs: 216test-fs:
217 cd test/fs; ./fs.sh | grep TESTING 217 cd test/fs; ./fs.sh | grep TESTING
218 218
219test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-xorg-x11 test-filters 219test: test-profiles test-fs test-utils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters
220 echo "TEST COMPLETE" 220 echo "TEST COMPLETE"
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}
13expect { 13expect {
14 timeout {puts "TESTING ERROR 1\n";exit} 14 timeout {puts "TESTING ERROR 1\n";exit}
15 "exited with 0" 15 "ioctl"
16}
17expect {
18 timeout {puts "TESTING ERROR 2\n";exit}
19 "exit_group"
16} 20}
17after 100 21after 100
18 22
19send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r" 23send -- "firejail --allow-debuggers --profile=/etc/firejail/firefox.profile strace ls\r"
20expect { 24expect {
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}
24expect { 28expect {
25 timeout {puts "TESTING ERROR 3\n";exit} 29 timeout {puts "TESTING ERROR 4\n";exit}
26 "exited with 0" 30 "ioctl"
31}
32expect {
33 timeout {puts "TESTING ERROR 5\n";exit}
34 "exit_group"
27} 35}
28after 100 36after 100
29 37