summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-03 12:42:49 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-03 12:42:49 -0500
commit34110bc5525b2e61e5e1c5dcea3563b4411a72c3 (patch)
tree9ac22bea771aa41797d5c26806c332b251208212 /test
parent--tracelog (diff)
downloadfirejail-34110bc5525b2e61e5e1c5dcea3563b4411a72c3.tar.gz
firejail-34110bc5525b2e61e5e1c5dcea3563b4411a72c3.tar.zst
firejail-34110bc5525b2e61e5e1c5dcea3563b4411a72c3.zip
testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/chromium.exp2
-rwxr-xr-xtest/deluge.exp2
-rwxr-xr-xtest/evince.exp8
-rwxr-xr-xtest/fbreader.exp6
-rwxr-xr-xtest/firefox.exp2
-rwxr-xr-xtest/gnome-mplayer.exp2
-rwxr-xr-xtest/google-chrome.exp2
-rwxr-xr-xtest/hexchat.exp2
-rwxr-xr-xtest/icedove.exp8
-rwxr-xr-xtest/midori.exp2
-rwxr-xr-xtest/opera.exp2
-rwxr-xr-xtest/shell_csh.exp2
-rwxr-xr-xtest/shell_dash.exp2
-rwxr-xr-xtest/shell_zsh.exp2
-rwxr-xr-xtest/test-apps.sh155
-rwxr-xr-xtest/test.sh156
-rwxr-xr-xtest/transmission-gtk.exp8
-rwxr-xr-xtest/transmission-qt.exp8
-rwxr-xr-xtest/vlc.exp6
-rwxr-xr-xtest/weechat.exp2
-rwxr-xr-xtest/wine.exp2
-rwxr-xr-xtest/xchat.exp2
22 files changed, 192 insertions, 191 deletions
diff --git a/test/chromium.exp b/test/chromium.exp
index 77325d070..9f4aa9ea4 100755
--- a/test/chromium.exp
+++ b/test/chromium.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail chromium www.gentoo.org\r" 7send -- "firejail --tracelog chromium www.gentoo.org\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/chromium.profile" 10 "Reading profile /etc/firejail/chromium.profile"
diff --git a/test/deluge.exp b/test/deluge.exp
index 49266813e..88982f189 100755
--- a/test/deluge.exp
+++ b/test/deluge.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail deluge\r" 7send -- "firejail --tracelog deluge\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/deluge.profile" 10 "Reading profile /etc/firejail/deluge.profile"
diff --git a/test/evince.exp b/test/evince.exp
index ba6ca1b6d..6c94dff9a 100755
--- a/test/evince.exp
+++ b/test/evince.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail evince\r" 7send -- "firejail --tracelog evince\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/evince.profile" 10 "Reading profile /etc/firejail/evince.profile"
@@ -38,7 +38,7 @@ spawn $env(SHELL)
38send -- "firemon --seccomp\r" 38send -- "firemon --seccomp\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5\n";exit} 40 timeout {puts "TESTING ERROR 5\n";exit}
41 ":firejail evince" 41 ":firejail --tracelog evince"
42} 42}
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -52,7 +52,7 @@ sleep 1
52send -- "firemon --caps\r" 52send -- "firemon --caps\r"
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6\n";exit} 54 timeout {puts "TESTING ERROR 6\n";exit}
55 ":firejail evince" 55 ":firejail --tracelog evince"
56} 56}
57expect { 57expect {
58 timeout {puts "TESTING ERROR 6.1\n";exit} 58 timeout {puts "TESTING ERROR 6.1\n";exit}
@@ -68,5 +68,5 @@ expect {
68} 68}
69sleep 1 69sleep 1
70 70
71puts "\n" 71puts "\nall done\n"
72 72
diff --git a/test/fbreader.exp b/test/fbreader.exp
index a4df50932..97df8aca8 100755
--- a/test/fbreader.exp
+++ b/test/fbreader.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail fbreader\r" 7send -- "firejail --tracelog fbreader\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/fbreader.profile" 10 "Reading profile /etc/firejail/fbreader.profile"
@@ -38,7 +38,7 @@ spawn $env(SHELL)
38send -- "firemon --seccomp\r" 38send -- "firemon --seccomp\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5\n";exit} 40 timeout {puts "TESTING ERROR 5\n";exit}
41 ":firejail fbreader" 41 ":firejail --tracelog fbreader"
42} 42}
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -52,7 +52,7 @@ sleep 1
52send -- "firemon --caps\r" 52send -- "firemon --caps\r"
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6\n";exit} 54 timeout {puts "TESTING ERROR 6\n";exit}
55 ":firejail fbreader" 55 ":firejail --tracelog fbreader"
56} 56}
57expect { 57expect {
58 timeout {puts "TESTING ERROR 6.1\n";exit} 58 timeout {puts "TESTING ERROR 6.1\n";exit}
diff --git a/test/firefox.exp b/test/firefox.exp
index c2e64e04f..e1b31dd87 100755
--- a/test/firefox.exp
+++ b/test/firefox.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail firefox www.gentoo.org\r" 7send -- "firejail --tracelog firefox www.gentoo.org\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/firefox.profile" 10 "Reading profile /etc/firejail/firefox.profile"
diff --git a/test/gnome-mplayer.exp b/test/gnome-mplayer.exp
index e8acc295c..e0157ffa9 100755
--- a/test/gnome-mplayer.exp
+++ b/test/gnome-mplayer.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail gnome-mplayer\r" 7send -- "firejail --tracelog gnome-mplayer\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/gnome-mplayer.profile" 10 "Reading profile /etc/firejail/gnome-mplayer.profile"
diff --git a/test/google-chrome.exp b/test/google-chrome.exp
index 5c77b53dc..f66608de4 100755
--- a/test/google-chrome.exp
+++ b/test/google-chrome.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail google-chrome www.gentoo.org\r" 7send -- "firejail --tracelog google-chrome www.gentoo.org\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/chromium.profile" 10 "Reading profile /etc/firejail/chromium.profile"
diff --git a/test/hexchat.exp b/test/hexchat.exp
index 0653bcb13..90d775574 100755
--- a/test/hexchat.exp
+++ b/test/hexchat.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail hexchat\r" 7send -- "firejail --tracelog hexchat\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/hexchat.profile" 10 "Reading profile /etc/firejail/hexchat.profile"
diff --git a/test/icedove.exp b/test/icedove.exp
index 79913517b..af2bd1ace 100755
--- a/test/icedove.exp
+++ b/test/icedove.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail icedove\r" 7send -- "firejail --tracelog icedove\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/icedove.profile" 10 "Reading profile /etc/firejail/icedove.profile"
@@ -13,7 +13,7 @@ expect {
13 timeout {puts "TESTING ERROR 1\n";exit} 13 timeout {puts "TESTING ERROR 1\n";exit}
14 "Child process initialized" 14 "Child process initialized"
15} 15}
16sleep 10 16sleep 5
17 17
18spawn $env(SHELL) 18spawn $env(SHELL)
19send -- "firejail --list\r" 19send -- "firejail --list\r"
@@ -38,7 +38,7 @@ spawn $env(SHELL)
38send -- "firemon --seccomp\r" 38send -- "firemon --seccomp\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5\n";exit} 40 timeout {puts "TESTING ERROR 5\n";exit}
41 ":firejail icedove" 41 ":firejail --tracelog icedove"
42} 42}
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -52,7 +52,7 @@ sleep 1
52send -- "firemon --caps\r" 52send -- "firemon --caps\r"
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6\n";exit} 54 timeout {puts "TESTING ERROR 6\n";exit}
55 ":firejail icedove" 55 ":firejail --tracelog icedove"
56} 56}
57expect { 57expect {
58 timeout {puts "TESTING ERROR 6.1\n";exit} 58 timeout {puts "TESTING ERROR 6.1\n";exit}
diff --git a/test/midori.exp b/test/midori.exp
index ec33816dd..f8f39d579 100755
--- a/test/midori.exp
+++ b/test/midori.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail midori www.gentoo.org\r" 7send -- "firejail --tracelog midori www.gentoo.org\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/midori.profile" 10 "Reading profile /etc/firejail/midori.profile"
diff --git a/test/opera.exp b/test/opera.exp
index f536ae866..62dc22279 100755
--- a/test/opera.exp
+++ b/test/opera.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail opera www.gentoo.org\r" 7send -- "firejail --tracelog opera www.gentoo.org\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/opera.profile" 10 "Reading profile /etc/firejail/opera.profile"
diff --git a/test/shell_csh.exp b/test/shell_csh.exp
index 8fa1ef166..a2634f633 100755
--- a/test/shell_csh.exp
+++ b/test/shell_csh.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --private --csh\r" 7send -- "firejail --private --tracelog --csh\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized" 10 "Child process initialized"
diff --git a/test/shell_dash.exp b/test/shell_dash.exp
index 298b65a0d..f5a60719e 100755
--- a/test/shell_dash.exp
+++ b/test/shell_dash.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --private --shell=/bin/dash\r" 7send -- "firejail --private --tracelog --shell=/bin/dash\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized" 10 "Child process initialized"
diff --git a/test/shell_zsh.exp b/test/shell_zsh.exp
index 79cd78a3e..1d73fd926 100755
--- a/test/shell_zsh.exp
+++ b/test/shell_zsh.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --private --zsh\r" 7send -- "firejail --private --tracelog --zsh\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Child process initialized" 10 "Child process initialized"
diff --git a/test/test-apps.sh b/test/test-apps.sh
new file mode 100755
index 000000000..5ada20549
--- /dev/null
+++ b/test/test-apps.sh
@@ -0,0 +1,155 @@
1#!/bin/bash
2
3which firefox
4if [ "$?" -eq 0 ];
5then
6 echo "TESTING: firefox"
7 ./firefox.exp
8else
9 echo "TESTING: firefox not found"
10fi
11
12which midori
13if [ "$?" -eq 0 ];
14then
15 echo "TESTING: midori"
16 ./midori.exp
17else
18 echo "TESTING: midori not found"
19fi
20
21which chromium
22if [ "$?" -eq 0 ];
23then
24 echo "TESTING: chromium"
25 ./chromium.exp
26else
27 echo "TESTING: chromium not found"
28fi
29
30which google-chrome
31if [ "$?" -eq 0 ];
32then
33 echo "TESTING: google-chrome"
34 ./chromium.exp
35else
36 echo "TESTING: google-chrome not found"
37fi
38
39which opera
40if [ "$?" -eq 0 ];
41then
42 echo "TESTING: opera"
43 ./opera.exp
44else
45 echo "TESTING: opera not found"
46fi
47
48which transmission-gtk
49if [ "$?" -eq 0 ];
50then
51 echo "TESTING: transmission-gtk"
52 ./transmission-gtk.exp
53else
54 echo "TESTING: transmission-gtk not found"
55fi
56
57which transmission-qt
58if [ "$?" -eq 0 ];
59then
60 echo "TESTING: transmission-qt"
61 ./transmission-qt.exp
62else
63 echo "TESTING: transmission-qt not found"
64fi
65
66which evince
67if [ "$?" -eq 0 ];
68then
69 echo "TESTING: evince"
70 ./evince.exp
71else
72 echo "TESTING: evince not found"
73fi
74
75which icedove
76if [ "$?" -eq 0 ];
77then
78 echo "TESTING: icedove"
79 ./icedove.exp
80else
81 echo "TESTING: icedove not found"
82fi
83
84which vlc
85if [ "$?" -eq 0 ];
86then
87 echo "TESTING: vlc"
88 ./vlc.exp
89else
90 echo "TESTING: vlc not found"
91fi
92
93which fbreader
94if [ "$?" -eq 0 ];
95then
96 echo "TESTING: fbreader"
97 ./fbreader.exp
98else
99 echo "TESTING: fbreader not found"
100fi
101
102which deluge
103if [ "$?" -eq 0 ];
104then
105 echo "TESTING: deluge"
106 ./deluge.exp
107else
108 echo "TESTING: deluge not found"
109fi
110
111which gnome-mplayer
112if [ "$?" -eq 0 ];
113then
114 echo "TESTING: gnome-mplayer"
115 ./gnome-mplayer.exp
116else
117 echo "TESTING: gnome-mplayer not found"
118fi
119
120which xchat
121if [ "$?" -eq 0 ];
122then
123 echo "TESTING: xchat"
124 ./xchat.exp
125else
126 echo "TESTING: xchat not found"
127fi
128
129which hexchat
130if [ "$?" -eq 0 ];
131then
132 echo "TESTING: hexchat"
133 ./hexchat.exp
134else
135 echo "TESTING: hexchat not found"
136fi
137
138which weechat-curses
139if [ "$?" -eq 0 ];
140then
141 echo "TESTING: weechat"
142 ./weechat.exp
143else
144 echo "TESTING: weechat not found"
145fi
146
147which wine
148if [ "$?" -eq 0 ];
149then
150 echo "TESTING: wine"
151 ./wine.exp
152else
153 echo "TESTING: wine not found"
154fi
155
diff --git a/test/test.sh b/test/test.sh
index 6b9b458e9..8668d068f 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -152,161 +152,7 @@ else
152 echo "TESTING: dash not found" 152 echo "TESTING: dash not found"
153fi 153fi
154 154
155which firefox 155./test-apps.sh
156if [ "$?" -eq 0 ];
157then
158 echo "TESTING: firefox"
159 ./firefox.exp
160else
161 echo "TESTING: firefox not found"
162fi
163
164which midori
165if [ "$?" -eq 0 ];
166then
167 echo "TESTING: midori"
168 ./midori.exp
169else
170 echo "TESTING: midori not found"
171fi
172
173which chromium
174if [ "$?" -eq 0 ];
175then
176 echo "TESTING: chromium"
177 ./chromium.exp
178else
179 echo "TESTING: chromium not found"
180fi
181
182which google-chrome
183if [ "$?" -eq 0 ];
184then
185 echo "TESTING: google-chrome"
186 ./chromium.exp
187else
188 echo "TESTING: google-chrome not found"
189fi
190
191which opera
192if [ "$?" -eq 0 ];
193then
194 echo "TESTING: opera"
195 ./opera.exp
196else
197 echo "TESTING: opera not found"
198fi
199
200which transmission-gtk
201if [ "$?" -eq 0 ];
202then
203 echo "TESTING: transmission-gtk"
204 ./transmission-gtk.exp
205else
206 echo "TESTING: transmission-gtk not found"
207fi
208
209which transmission-qt
210if [ "$?" -eq 0 ];
211then
212 echo "TESTING: transmission-qt"
213 ./transmission-qt.exp
214else
215 echo "TESTING: transmission-qt not found"
216fi
217
218which evince
219if [ "$?" -eq 0 ];
220then
221 echo "TESTING: evince"
222 ./evince.exp
223else
224 echo "TESTING: evince not found"
225fi
226
227which icedove
228if [ "$?" -eq 0 ];
229then
230 echo "TESTING: icedove"
231 ./icedove.exp
232else
233 echo "TESTING: icedove not found"
234fi
235
236which vlc
237if [ "$?" -eq 0 ];
238then
239 echo "TESTING: vlc"
240 ./vlc.exp
241else
242 echo "TESTING: vlc not found"
243fi
244
245which fbreader
246if [ "$?" -eq 0 ];
247then
248 echo "TESTING: fbreader"
249 ./fbreader.exp
250else
251 echo "TESTING: fbreader not found"
252fi
253
254which deluge
255if [ "$?" -eq 0 ];
256then
257 echo "TESTING: deluge"
258 ./deluge.exp
259else
260 echo "TESTING: deluge not found"
261fi
262
263which gnome-mplayer
264if [ "$?" -eq 0 ];
265then
266 echo "TESTING: gnome-mplayer"
267 ./gnome-mplayer.exp
268else
269 echo "TESTING: gnome-mplayer not found"
270fi
271
272which xchat
273if [ "$?" -eq 0 ];
274then
275 echo "TESTING: xchat"
276 ./xchat.exp
277else
278 echo "TESTING: xchat not found"
279fi
280
281which hexchat
282if [ "$?" -eq 0 ];
283then
284 echo "TESTING: hexchat"
285 ./hexchat.exp
286else
287 echo "TESTING: hexchat not found"
288fi
289
290which weechat-curses
291if [ "$?" -eq 0 ];
292then
293 echo "TESTING: weechat"
294 ./weechat.exp
295else
296 echo "TESTING: weechat not found"
297fi
298
299which wine
300if [ "$?" -eq 0 ];
301then
302 echo "TESTING: wine"
303 ./wine.exp
304else
305 echo "TESTING: wine not found"
306fi
307
308
309
310 156
311echo "TESTING: PID" 157echo "TESTING: PID"
312./pid.exp 158./pid.exp
diff --git a/test/transmission-gtk.exp b/test/transmission-gtk.exp
index 7760ae3ad..01e220573 100755
--- a/test/transmission-gtk.exp
+++ b/test/transmission-gtk.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail transmission-gtk\r" 7send -- "firejail --tracelog transmission-gtk\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 1\n";exit} 9 timeout {puts "TESTING ERROR 1\n";exit}
10 "Child process initialized" 10 "Child process initialized"
@@ -34,7 +34,7 @@ spawn $env(SHELL)
34send -- "firemon --seccomp\r" 34send -- "firemon --seccomp\r"
35expect { 35expect {
36 timeout {puts "TESTING ERROR 5\n";exit} 36 timeout {puts "TESTING ERROR 5\n";exit}
37 ":firejail transmission-gtk" 37 ":firejail --tracelog transmission-gtk"
38} 38}
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 40 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -48,7 +48,7 @@ sleep 1
48send -- "firemon --caps\r" 48send -- "firemon --caps\r"
49expect { 49expect {
50 timeout {puts "TESTING ERROR 6\n";exit} 50 timeout {puts "TESTING ERROR 6\n";exit}
51 ":firejail transmission-gtk" 51 ":firejail --tracelog transmission-gtk"
52} 52}
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6.1\n";exit} 54 timeout {puts "TESTING ERROR 6.1\n";exit}
@@ -64,5 +64,5 @@ expect {
64} 64}
65sleep 1 65sleep 1
66 66
67puts "\n" 67puts "\nall done\n"
68 68
diff --git a/test/transmission-qt.exp b/test/transmission-qt.exp
index 85457aeb8..785e35649 100755
--- a/test/transmission-qt.exp
+++ b/test/transmission-qt.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail transmission-qt\r" 7send -- "firejail --tracelog transmission-qt\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/transmission-qt.profile" 10 "Reading profile /etc/firejail/transmission-qt.profile"
@@ -38,7 +38,7 @@ spawn $env(SHELL)
38send -- "firemon --seccomp\r" 38send -- "firemon --seccomp\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5\n";exit} 40 timeout {puts "TESTING ERROR 5\n";exit}
41 ":firejail transmission-qt" 41 ":firejail --tracelog transmission-qt"
42} 42}
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -52,7 +52,7 @@ sleep 1
52send -- "firemon --caps\r" 52send -- "firemon --caps\r"
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6\n";exit} 54 timeout {puts "TESTING ERROR 6\n";exit}
55 ":firejail transmission-qt" 55 ":firejail --tracelog transmission-qt"
56} 56}
57expect { 57expect {
58 timeout {puts "TESTING ERROR 6.1\n";exit} 58 timeout {puts "TESTING ERROR 6.1\n";exit}
@@ -68,5 +68,5 @@ expect {
68} 68}
69sleep 1 69sleep 1
70 70
71puts "\n" 71puts "\nall done\n"
72 72
diff --git a/test/vlc.exp b/test/vlc.exp
index 53d25c9dd..a9a0a3fb1 100755
--- a/test/vlc.exp
+++ b/test/vlc.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail vlc\r" 7send -- "firejail --tracelog vlc\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/vlc.profile" 10 "Reading profile /etc/firejail/vlc.profile"
@@ -38,7 +38,7 @@ spawn $env(SHELL)
38send -- "firemon --seccomp\r" 38send -- "firemon --seccomp\r"
39expect { 39expect {
40 timeout {puts "TESTING ERROR 5\n";exit} 40 timeout {puts "TESTING ERROR 5\n";exit}
41 ":firejail vlc" 41 ":firejail --tracelog vlc"
42} 42}
43expect { 43expect {
44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit} 44 timeout {puts "TESTING ERROR 5.1 (seccomp)\n";exit}
@@ -52,7 +52,7 @@ sleep 1
52send -- "firemon --caps\r" 52send -- "firemon --caps\r"
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6\n";exit} 54 timeout {puts "TESTING ERROR 6\n";exit}
55 ":firejail vlc" 55 ":firejail --tracelog vlc"
56} 56}
57expect { 57expect {
58 timeout {puts "TESTING ERROR 6.1\n";exit} 58 timeout {puts "TESTING ERROR 6.1\n";exit}
diff --git a/test/weechat.exp b/test/weechat.exp
index ac2430280..8a928b0e9 100755
--- a/test/weechat.exp
+++ b/test/weechat.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail weechat-curses\r" 7send -- "firejail --tracelog weechat-curses\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/weechat.profile" 10 "Reading profile /etc/firejail/weechat.profile"
diff --git a/test/wine.exp b/test/wine.exp
index d87c1f205..1e7df434c 100755
--- a/test/wine.exp
+++ b/test/wine.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail wine --help\r" 7send -- "firejail --tracelog wine --help\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/wine.profile" 10 "Reading profile /etc/firejail/wine.profile"
diff --git a/test/xchat.exp b/test/xchat.exp
index babbcf87d..d1b06b2c0 100755
--- a/test/xchat.exp
+++ b/test/xchat.exp
@@ -4,7 +4,7 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail xchat\r" 7send -- "firejail --tracelog xchat\r"
8expect { 8expect {
9 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}
10 "Reading profile /etc/firejail/xchat.profile" 10 "Reading profile /etc/firejail/xchat.profile"