aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-06 19:37:08 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-06 19:37:08 -0500
commit1365b0d41b013a8fd209acfd2f7adefb9b6adbdc (patch)
tree48e0ce6dad2ecf712cbc5b598b222209d93501f4 /test
parenttracelog (diff)
downloadfirejail-1365b0d41b013a8fd209acfd2f7adefb9b6adbdc.tar.gz
firejail-1365b0d41b013a8fd209acfd2f7adefb9b6adbdc.tar.zst
firejail-1365b0d41b013a8fd209acfd2f7adefb9b6adbdc.zip
tracelog fixes
Diffstat (limited to 'test')
-rwxr-xr-xtest/chromium.exp2
-rwxr-xr-xtest/deluge.exp2
-rwxr-xr-xtest/evince.exp6
-rwxr-xr-xtest/fbreader.exp6
-rwxr-xr-xtest/firefox.exp2
-rwxr-xr-xtest/gnome-mplayer.exp4
-rwxr-xr-xtest/google-chrome.exp4
-rwxr-xr-xtest/hexchat.exp2
-rwxr-xr-xtest/icedove.exp6
-rwxr-xr-xtest/midori.exp2
-rwxr-xr-xtest/opera.exp2
-rwxr-xr-xtest/transmission-gtk.exp6
-rwxr-xr-xtest/transmission-qt.exp6
-rwxr-xr-xtest/vlc.exp6
-rwxr-xr-xtest/weechat.exp2
-rwxr-xr-xtest/wine.exp2
-rwxr-xr-xtest/xchat.exp2
17 files changed, 31 insertions, 31 deletions
diff --git a/test/chromium.exp b/test/chromium.exp
index 9f4aa9ea4..77325d070 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 --tracelog chromium www.gentoo.org\r" 7send -- "firejail 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 88982f189..49266813e 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 --tracelog deluge\r" 7send -- "firejail 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 6c94dff9a..0c57f3871 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 --tracelog evince\r" 7send -- "firejail 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 --tracelog evince" 41 ":firejail 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 --tracelog evince" 55 ":firejail evince"
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/fbreader.exp b/test/fbreader.exp
index 97df8aca8..65a193c54 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 --tracelog fbreader\r" 7send -- "firejail 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 --tracelog fbreader" 41 ":firejailfbreader"
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 --tracelog fbreader" 55 ":firejail 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 e1b31dd87..c2e64e04f 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 --tracelog firefox www.gentoo.org\r" 7send -- "firejail 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 e0157ffa9..193d532ae 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 --tracelog gnome-mplayer\r" 7send -- "firejail 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"
@@ -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/google-chrome.exp b/test/google-chrome.exp
index f66608de4..7999831d7 100755
--- a/test/google-chrome.exp
+++ b/test/google-chrome.exp
@@ -4,10 +4,10 @@ set timeout 10
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "firejail --tracelog google-chrome www.gentoo.org\r" 7send -- "firejail 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/google-chrome.profile"
11} 11}
12expect { 12expect {
13 timeout {puts "TESTING ERROR 1\n";exit} 13 timeout {puts "TESTING ERROR 1\n";exit}
diff --git a/test/hexchat.exp b/test/hexchat.exp
index 90d775574..0653bcb13 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 --tracelog hexchat\r" 7send -- "firejail 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 af2bd1ace..be5309e07 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 --tracelog icedove\r" 7send -- "firejail 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"
@@ -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 --tracelog icedove" 41 ":firejail 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 --tracelog icedove" 55 ":firejail 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 f8f39d579..ec33816dd 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 --tracelog midori www.gentoo.org\r" 7send -- "firejail 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 62dc22279..f536ae866 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 --tracelog opera www.gentoo.org\r" 7send -- "firejail 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/transmission-gtk.exp b/test/transmission-gtk.exp
index 01e220573..77d5dd30c 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 --tracelog transmission-gtk\r" 7send -- "firejail 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 --tracelog transmission-gtk" 37 ":firejail 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 --tracelog transmission-gtk" 51 ":firejail transmission-gtk"
52} 52}
53expect { 53expect {
54 timeout {puts "TESTING ERROR 6.1\n";exit} 54 timeout {puts "TESTING ERROR 6.1\n";exit}
diff --git a/test/transmission-qt.exp b/test/transmission-qt.exp
index 785e35649..d27c16d6d 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 --tracelog transmission-qt\r" 7send -- "firejail 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 --tracelog transmission-qt" 41 ":firejail 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 --tracelog transmission-qt" 55 ":firejail transmission-qt"
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/vlc.exp b/test/vlc.exp
index a9a0a3fb1..53d25c9dd 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 --tracelog vlc\r" 7send -- "firejail 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 --tracelog vlc" 41 ":firejail 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 --tracelog vlc" 55 ":firejail 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 8a928b0e9..ac2430280 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 --tracelog weechat-curses\r" 7send -- "firejail 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 1e7df434c..d87c1f205 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 --tracelog wine --help\r" 7send -- "firejail 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 d1b06b2c0..babbcf87d 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 --tracelog xchat\r" 7send -- "firejail 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"