From ababab246b4fe0a03d4d9a745fa6e040903d0c06 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 5 Aug 2016 17:33:09 -0400 Subject: testing --- test/dist-compile/compile.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'test') diff --git a/test/dist-compile/compile.sh b/test/dist-compile/compile.sh index 6332bee9a..b33f0660a 100755 --- a/test/dist-compile/compile.sh +++ b/test/dist-compile/compile.sh @@ -11,6 +11,7 @@ arr[8]="TEST 8: compile network restricted" arr[9]="TEST 9: compile file transfer disabled" arr[10]="TEST 10: compile disable whitelist" arr[11]="TEST 11: compile disable global config" +arr[12]="TEST 12: compile apparmor" # remove previous reports and output file cleanup() { @@ -261,6 +262,25 @@ cp output-configure oc11 cp output-make om11 rm output-configure output-make +#***************************************************************** +# TEST 12 +#***************************************************************** +# - enable apparmor +# - check compilation +#***************************************************************** +print_title "${arr[11]}" +# seccomp +cd firejail +make distclean +./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test12 +grep Error output-configure output-make >> ./report-test12 +cp output-configure oc12 +cp output-make om12 +rm output-configure output-make + #***************************************************************** # PRINT REPORTS @@ -287,3 +307,4 @@ echo ${arr[8]} echo ${arr[9]} echo ${arr[10]} echo ${arr[11]} +echo ${arr[12]} -- cgit v1.2.3-54-g00ecf