From 3212101227c04ac4e894199881cc486bbda28822 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 23 Feb 2016 09:53:54 -0500 Subject: x11 work --- test/compile/compile.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test/compile') diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 789ebbf28..d191b4d2b 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh @@ -6,6 +6,7 @@ arr[3]="TEST 3: compile chroot disabled" arr[4]="TEST 4: compile bind disabled" arr[5]="TEST 5: compile user namespace disabled" arr[6]="TEST 6: compile network disabled" +arr[7]="TEST 7: compile X11 disabled" # remove previous reports and output file @@ -146,6 +147,23 @@ grep Warning output-configure output-make > ./report-test6 grep Error output-configure output-make >> ./report-test6 rm output-configure output-make +#***************************************************************** +# TEST 7 +#***************************************************************** +# - disable X11 support +# - check compilation +#***************************************************************** +print_title "${arr[6]}" +# seccomp +cd firejail +make distclean +./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test7 +grep Error output-configure output-make >> ./report-test7 +rm output-configure output-make + #***************************************************************** # PRINT REPORTS @@ -167,3 +185,4 @@ echo ${arr[3]} echo ${arr[4]} echo ${arr[5]} echo ${arr[6]} +echo ${arr[7]} -- cgit v1.2.3-54-g00ecf