From bfe63202722791b5ba088dd1ee88f49d6ef2a90d Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 4 Apr 2016 20:28:26 -0400 Subject: grsecurity: testing --- test/google-chrome.exp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/google-chrome.exp') 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 { } sleep 1 +# grsecurity exit +send -- "file /proc/sys/kernel/grsecurity\r" +expect { + timeout {puts "TESTING ERROR - grsecurity detection\n";exit} + "grsecurity: directory" {puts "grsecurity present, exiting...\n";exit} + "cannot open" {puts "grsecurity not present\n"} +} + send -- "firejail --name=blablabla\r" expect { timeout {puts "TESTING ERROR 4\n";exit} -- cgit v1.2.3-54-g00ecf