diff options
-rwxr-xr-x | test/chromium-x11.exp | 7 | ||||
-rwxr-xr-x | test/chromium.exp | 8 | ||||
-rwxr-xr-x | test/deluge.exp | 8 | ||||
-rwxr-xr-x | test/evince.exp | 8 | ||||
-rwxr-xr-x | test/fbreader.exp | 8 | ||||
-rwxr-xr-x | test/firefox-x11.exp | 7 | ||||
-rwxr-xr-x | test/firefox.exp | 10 | ||||
-rwxr-xr-x | test/gnome-mplayer.exp | 8 | ||||
-rwxr-xr-x | test/google-chrome.exp | 8 | ||||
-rwxr-xr-x | test/hexchat.exp | 9 | ||||
-rwxr-xr-x | test/icedove.exp | 8 | ||||
-rwxr-xr-x | test/midori.exp | 8 | ||||
-rwxr-xr-x | test/opera.exp | 8 | ||||
-rwxr-xr-x | test/transmission-gtk-x11.exp | 8 | ||||
-rwxr-xr-x | test/transmission-gtk.exp | 7 | ||||
-rwxr-xr-x | test/transmission-qt.exp | 8 | ||||
-rwxr-xr-x | test/vlc.exp | 8 | ||||
-rwxr-xr-x | test/weechat.exp | 9 | ||||
-rwxr-xr-x | test/xchat.exp | 9 |
19 files changed, 154 insertions, 0 deletions
diff --git a/test/chromium-x11.exp b/test/chromium-x11.exp index 0d8a5dfb3..bcac3233c 100755 --- a/test/chromium-x11.exp +++ b/test/chromium-x11.exp | |||
@@ -19,6 +19,13 @@ expect { | |||
19 | } | 19 | } |
20 | sleep 1 | 20 | sleep 1 |
21 | 21 | ||
22 | # grsecurity exit | ||
23 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
26 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
27 | "cannot open" {puts "grsecurity not present\n"} | ||
28 | } | ||
22 | send -- "firejail --name=blablabla\r" | 29 | send -- "firejail --name=blablabla\r" |
23 | expect { | 30 | expect { |
24 | timeout {puts "TESTING ERROR 4\n";exit} | 31 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/chromium.exp b/test/chromium.exp index 77325d070..676f7e314 100755 --- a/test/chromium.exp +++ b/test/chromium.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/deluge.exp b/test/deluge.exp index 49266813e..9f5063495 100755 --- a/test/deluge.exp +++ b/test/deluge.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/evince.exp b/test/evince.exp index 0c57f3871..3c3ad4bdd 100755 --- a/test/evince.exp +++ b/test/evince.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/fbreader.exp b/test/fbreader.exp index a4df50932..d2bee880e 100755 --- a/test/fbreader.exp +++ b/test/fbreader.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/firefox-x11.exp b/test/firefox-x11.exp index 8bc7fbd25..7e30437db 100755 --- a/test/firefox-x11.exp +++ b/test/firefox-x11.exp | |||
@@ -23,6 +23,13 @@ expect { | |||
23 | "no-remote" | 23 | "no-remote" |
24 | } | 24 | } |
25 | sleep 1 | 25 | sleep 1 |
26 | # grsecurity exit | ||
27 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
30 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
31 | "cannot open" {puts "grsecurity not present\n"} | ||
32 | } | ||
26 | send -- "firejail --name=blablabla\r" | 33 | send -- "firejail --name=blablabla\r" |
27 | expect { | 34 | expect { |
28 | timeout {puts "TESTING ERROR 4\n";exit} | 35 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/firefox.exp b/test/firefox.exp index d531cf977..2585e4b5c 100755 --- a/test/firefox.exp +++ b/test/firefox.exp | |||
@@ -31,6 +31,16 @@ expect { | |||
31 | "no-remote" | 31 | "no-remote" |
32 | } | 32 | } |
33 | sleep 1 | 33 | sleep 1 |
34 | |||
35 | # grsecurity exit | ||
36 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
37 | expect { | ||
38 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
39 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
40 | "cannot open" {puts "grsecurity not present\n"} | ||
41 | } | ||
42 | |||
43 | |||
34 | send -- "firejail --name=blablabla\r" | 44 | send -- "firejail --name=blablabla\r" |
35 | expect { | 45 | expect { |
36 | timeout {puts "TESTING ERROR 4\n";exit} | 46 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/gnome-mplayer.exp b/test/gnome-mplayer.exp index 193d532ae..6965322fc 100755 --- a/test/gnome-mplayer.exp +++ b/test/gnome-mplayer.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/google-chrome.exp b/test/google-chrome.exp index 7999831d7..389988e3c 100755 --- a/test/google-chrome.exp +++ b/test/google-chrome.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/hexchat.exp b/test/hexchat.exp index 0653bcb13..7e99c8cdf 100755 --- a/test/hexchat.exp +++ b/test/hexchat.exp | |||
@@ -26,6 +26,15 @@ expect { | |||
26 | "hexchat" | 26 | "hexchat" |
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | |||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
29 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
30 | expect { | 39 | expect { |
31 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/icedove.exp b/test/icedove.exp index be5309e07..344febb93 100755 --- a/test/icedove.exp +++ b/test/icedove.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/midori.exp b/test/midori.exp index ec33816dd..470f5de77 100755 --- a/test/midori.exp +++ b/test/midori.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/opera.exp b/test/opera.exp index f536ae866..23eed5504 100755 --- a/test/opera.exp +++ b/test/opera.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/transmission-gtk-x11.exp b/test/transmission-gtk-x11.exp index 6192b277c..4ee3de701 100755 --- a/test/transmission-gtk-x11.exp +++ b/test/transmission-gtk-x11.exp | |||
@@ -19,6 +19,14 @@ expect { | |||
19 | } | 19 | } |
20 | sleep 1 | 20 | sleep 1 |
21 | 21 | ||
22 | # grsecurity exit | ||
23 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
24 | expect { | ||
25 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
26 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
27 | "cannot open" {puts "grsecurity not present\n"} | ||
28 | } | ||
29 | |||
22 | send -- "firejail --name=blablabla\r" | 30 | send -- "firejail --name=blablabla\r" |
23 | expect { | 31 | expect { |
24 | timeout {puts "TESTING ERROR 4\n";exit} | 32 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/transmission-gtk.exp b/test/transmission-gtk.exp index 77d5dd30c..1acfc6f94 100755 --- a/test/transmission-gtk.exp +++ b/test/transmission-gtk.exp | |||
@@ -23,6 +23,13 @@ expect { | |||
23 | } | 23 | } |
24 | sleep 1 | 24 | sleep 1 |
25 | 25 | ||
26 | # grsecurity exit | ||
27 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
28 | expect { | ||
29 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
30 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
31 | "cannot open" {puts "grsecurity not present\n"} | ||
32 | } | ||
26 | send -- "firejail --name=blablabla\r" | 33 | send -- "firejail --name=blablabla\r" |
27 | expect { | 34 | expect { |
28 | timeout {puts "TESTING ERROR 4\n";exit} | 35 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/transmission-qt.exp b/test/transmission-qt.exp index d27c16d6d..944fd28a2 100755 --- a/test/transmission-qt.exp +++ b/test/transmission-qt.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/vlc.exp b/test/vlc.exp index 53d25c9dd..290c0fc2f 100755 --- a/test/vlc.exp +++ b/test/vlc.exp | |||
@@ -27,6 +27,14 @@ expect { | |||
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | 29 | ||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
30 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
31 | expect { | 39 | expect { |
32 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/weechat.exp b/test/weechat.exp index ac2430280..630af55ee 100755 --- a/test/weechat.exp +++ b/test/weechat.exp | |||
@@ -26,6 +26,15 @@ expect { | |||
26 | "weechat-curses" | 26 | "weechat-curses" |
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | |||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
29 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
30 | expect { | 39 | expect { |
31 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |
diff --git a/test/xchat.exp b/test/xchat.exp index babbcf87d..cde89d754 100755 --- a/test/xchat.exp +++ b/test/xchat.exp | |||
@@ -26,6 +26,15 @@ expect { | |||
26 | "xchat" | 26 | "xchat" |
27 | } | 27 | } |
28 | sleep 1 | 28 | sleep 1 |
29 | |||
30 | # grsecurity exit | ||
31 | send -- "file /proc/sys/kernel/grsecurity\r" | ||
32 | expect { | ||
33 | timeout {puts "TESTING ERROR - grsecurity detection\n";exit} | ||
34 | "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} | ||
35 | "cannot open" {puts "grsecurity not present\n"} | ||
36 | } | ||
37 | |||
29 | send -- "firejail --name=blablabla\r" | 38 | send -- "firejail --name=blablabla\r" |
30 | expect { | 39 | expect { |
31 | timeout {puts "TESTING ERROR 4\n";exit} | 40 | timeout {puts "TESTING ERROR 4\n";exit} |