diff options
Diffstat (limited to 'test/weechat.exp')
-rwxr-xr-x | test/weechat.exp | 9 |
1 files changed, 9 insertions, 0 deletions
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} |