diff options
Diffstat (limited to 'test/private-lib/gnome-calculator.exp')
-rwxr-xr-x | test/private-lib/gnome-calculator.exp | 8 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail gnome-calculator\r" | 10 | # gnome-calculator uses quiet at the top of the profile |
11 | # we need to use --ignore | ||
12 | send -- "firejail --ignore=quiet gnome-calculator\r" | ||
11 | expect { | 13 | expect { |
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" | |||
50 | expect { | 52 | expect { |
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 | } |
55 | expect { | 57 | expect { |
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 | |||
64 | send -- "firemon --caps\r" | 66 | send -- "firemon --caps\r" |
65 | expect { | 67 | expect { |
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 | } |
69 | expect { | 71 | expect { |
70 | timeout {puts "TESTING ERROR 6.1\n";exit} | 72 | timeout {puts "TESTING ERROR 6.1\n";exit} |