diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/chromium.exp | 2 | ||||
-rwxr-xr-x | test/deluge.exp | 2 | ||||
-rwxr-xr-x | test/evince.exp | 6 | ||||
-rwxr-xr-x | test/fbreader.exp | 6 | ||||
-rwxr-xr-x | test/firefox.exp | 2 | ||||
-rwxr-xr-x | test/gnome-mplayer.exp | 4 | ||||
-rwxr-xr-x | test/google-chrome.exp | 4 | ||||
-rwxr-xr-x | test/hexchat.exp | 2 | ||||
-rwxr-xr-x | test/icedove.exp | 6 | ||||
-rwxr-xr-x | test/midori.exp | 2 | ||||
-rwxr-xr-x | test/opera.exp | 2 | ||||
-rwxr-xr-x | test/transmission-gtk.exp | 6 | ||||
-rwxr-xr-x | test/transmission-qt.exp | 6 | ||||
-rwxr-xr-x | test/vlc.exp | 6 | ||||
-rwxr-xr-x | test/weechat.exp | 2 | ||||
-rwxr-xr-x | test/wine.exp | 2 | ||||
-rwxr-xr-x | test/xchat.exp | 2 |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog chromium www.gentoo.org\r" | 7 | send -- "firejail chromium www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog deluge\r" | 7 | send -- "firejail deluge\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog evince\r" | 7 | send -- "firejail evince\r" |
8 | expect { | 8 | expect { |
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) | |||
38 | send -- "firemon --seccomp\r" | 38 | send -- "firemon --seccomp\r" |
39 | expect { | 39 | expect { |
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 | } |
43 | expect { | 43 | expect { |
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 | |||
52 | send -- "firemon --caps\r" | 52 | send -- "firemon --caps\r" |
53 | expect { | 53 | expect { |
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 | } |
57 | expect { | 57 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog fbreader\r" | 7 | send -- "firejail fbreader\r" |
8 | expect { | 8 | expect { |
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) | |||
38 | send -- "firemon --seccomp\r" | 38 | send -- "firemon --seccomp\r" |
39 | expect { | 39 | expect { |
40 | timeout {puts "TESTING ERROR 5\n";exit} | 40 | timeout {puts "TESTING ERROR 5\n";exit} |
41 | ":firejail --tracelog fbreader" | 41 | ":firejailfbreader" |
42 | } | 42 | } |
43 | expect { | 43 | expect { |
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 | |||
52 | send -- "firemon --caps\r" | 52 | send -- "firemon --caps\r" |
53 | expect { | 53 | expect { |
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 | } |
57 | expect { | 57 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog firefox www.gentoo.org\r" | 7 | send -- "firejail firefox www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog gnome-mplayer\r" | 7 | send -- "firejail gnome-mplayer\r" |
8 | expect { | 8 | expect { |
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 | } |
69 | sleep 1 | 69 | sleep 1 |
70 | 70 | ||
71 | puts "\n" | 71 | puts "\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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog google-chrome www.gentoo.org\r" | 7 | send -- "firejail google-chrome www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | } |
12 | expect { | 12 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog hexchat\r" | 7 | send -- "firejail hexchat\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog icedove\r" | 7 | send -- "firejail icedove\r" |
8 | expect { | 8 | expect { |
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) | |||
38 | send -- "firemon --seccomp\r" | 38 | send -- "firemon --seccomp\r" |
39 | expect { | 39 | expect { |
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 | } |
43 | expect { | 43 | expect { |
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 | |||
52 | send -- "firemon --caps\r" | 52 | send -- "firemon --caps\r" |
53 | expect { | 53 | expect { |
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 | } |
57 | expect { | 57 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog midori www.gentoo.org\r" | 7 | send -- "firejail midori www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog opera www.gentoo.org\r" | 7 | send -- "firejail opera www.gentoo.org\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog transmission-gtk\r" | 7 | send -- "firejail transmission-gtk\r" |
8 | expect { | 8 | expect { |
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) | |||
34 | send -- "firemon --seccomp\r" | 34 | send -- "firemon --seccomp\r" |
35 | expect { | 35 | expect { |
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 | } |
39 | expect { | 39 | expect { |
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 | |||
48 | send -- "firemon --caps\r" | 48 | send -- "firemon --caps\r" |
49 | expect { | 49 | expect { |
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 | } |
53 | expect { | 53 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog transmission-qt\r" | 7 | send -- "firejail transmission-qt\r" |
8 | expect { | 8 | expect { |
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) | |||
38 | send -- "firemon --seccomp\r" | 38 | send -- "firemon --seccomp\r" |
39 | expect { | 39 | expect { |
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 | } |
43 | expect { | 43 | expect { |
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 | |||
52 | send -- "firemon --caps\r" | 52 | send -- "firemon --caps\r" |
53 | expect { | 53 | expect { |
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 | } |
57 | expect { | 57 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog vlc\r" | 7 | send -- "firejail vlc\r" |
8 | expect { | 8 | expect { |
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) | |||
38 | send -- "firemon --seccomp\r" | 38 | send -- "firemon --seccomp\r" |
39 | expect { | 39 | expect { |
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 | } |
43 | expect { | 43 | expect { |
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 | |||
52 | send -- "firemon --caps\r" | 52 | send -- "firemon --caps\r" |
53 | expect { | 53 | expect { |
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 | } |
57 | expect { | 57 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog weechat-curses\r" | 7 | send -- "firejail weechat-curses\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog wine --help\r" | 7 | send -- "firejail wine --help\r" |
8 | expect { | 8 | expect { |
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 | |||
4 | spawn $env(SHELL) | 4 | spawn $env(SHELL) |
5 | match_max 100000 | 5 | match_max 100000 |
6 | 6 | ||
7 | send -- "firejail --tracelog xchat\r" | 7 | send -- "firejail xchat\r" |
8 | expect { | 8 | expect { |
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" |