aboutsummaryrefslogtreecommitdiffstats
path: root/test/private-lib
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 16:09:57 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-10-30 16:09:57 -0400
commit66042d7dbc60f183e9d77fefd93a9584e3cf35ef (patch)
tree9d54205a755125c61c87f7f8e9c0e48743c28b88 /test/private-lib
parenttesting, fixed cryptocat.profile (diff)
downloadfirejail-66042d7dbc60f183e9d77fefd93a9584e3cf35ef.tar.gz
firejail-66042d7dbc60f183e9d77fefd93a9584e3cf35ef.tar.zst
firejail-66042d7dbc60f183e9d77fefd93a9584e3cf35ef.zip
fix --ignore=quiet
Diffstat (limited to 'test/private-lib')
-rwxr-xr-xtest/private-lib/gnome-calculator.exp8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/private-lib/gnome-calculator.exp b/test/private-lib/gnome-calculator.exp
index 590da34cf..6d20c36f4 100755
--- a/test/private-lib/gnome-calculator.exp
+++ b/test/private-lib/gnome-calculator.exp
@@ -7,7 +7,9 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail gnome-calculator\r" 10# gnome-calculator uses quiet at the top of the profile
11# we need to use --ignore
12send -- "firejail --ignore=quiet gnome-calculator\r"
11expect { 13expect {
12 timeout {puts "TESTING ERROR 0\n";exit} 14 timeout {puts "TESTING ERROR 0\n";exit}
13 "Reading profile /etc/firejail/gnome-calculator.profile" 15 "Reading profile /etc/firejail/gnome-calculator.profile"
@@ -50,7 +52,7 @@ send -- "firemon --seccomp\r"
50expect { 52expect {
51 timeout {puts "TESTING ERROR 5\n";exit} 53 timeout {puts "TESTING ERROR 5\n";exit}
52 "need to be root" {puts "/proc mounted as hidepid, exiting...\n"; exit} 54 "need to be root" {puts "/proc mounted as hidepid, exiting...\n"; exit}
53 ":firejail gnome-calculator" 55 ":firejail --ignore=quiet gnome-calculator"
54} 56}
55expect { 57expect {
56 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 58 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -64,7 +66,7 @@ after 100
64send -- "firemon --caps\r" 66send -- "firemon --caps\r"
65expect { 67expect {
66 timeout {puts "TESTING ERROR 6\n";exit} 68 timeout {puts "TESTING ERROR 6\n";exit}
67 ":firejail gnome-calculator" 69 ":firejail --ignore=quiet gnome-calculator"
68} 70}
69expect { 71expect {
70 timeout {puts "TESTING ERROR 6.1\n";exit} 72 timeout {puts "TESTING ERROR 6.1\n";exit}