From 2357d2d129c53f7d466171369e44d0b0472cb26f Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 3 Oct 2020 09:40:52 -0400 Subject: make test-compile for disable manpages --- test/compile/compile.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/compile/compile.sh b/test/compile/compile.sh index c6da2a647..91fcfb85d 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh @@ -17,7 +17,8 @@ arr[11]="TEST 11: compile disable global config" arr[12]="TEST 12: compile apparmor" arr[13]="TEST 13: compile busybox" arr[14]="TEST 14: compile overlayfs disabled" -arr[14]="TEST 15: compile private-home disabled" +arr[15]="TEST 15: compile private-home disabled" +arr[15]="TEST 16: compile disable manpages" # remove previous reports and output file cleanup() { @@ -315,6 +316,23 @@ cp output-configure oc15 cp output-make om15 rm output-configure output-make +#***************************************************************** +# TEST 16 +#***************************************************************** +# - disable manpages +#***************************************************************** +print_title "${arr[16]}" +cd firejail +make distclean +./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test16 +grep Error output-configure output-make >> ./report-test16 +cp output-configure oc16 +cp output-make om16 +rm output-configure output-make + #***************************************************************** # PRINT REPORTS #***************************************************************** @@ -344,3 +362,4 @@ echo ${arr[12]} echo ${arr[13]} echo ${arr[14]} echo ${arr[15]} +echo ${arr[16]} -- cgit v1.2.3-54-g00ecf