aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-10-03 09:40:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-10-03 09:40:52 -0400
commit2357d2d129c53f7d466171369e44d0b0472cb26f (patch)
tree396a11d2854dfb50584b9be2549a4fa6f3026edf /test
parentMerge branch 'master' of https://github.com/netblue30/firejail (diff)
downloadfirejail-2357d2d129c53f7d466171369e44d0b0472cb26f.tar.gz
firejail-2357d2d129c53f7d466171369e44d0b0472cb26f.tar.zst
firejail-2357d2d129c53f7d466171369e44d0b0472cb26f.zip
make test-compile for disable manpages
Diffstat (limited to 'test')
-rwxr-xr-xtest/compile/compile.sh21
1 files changed, 20 insertions, 1 deletions
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"
17arr[12]="TEST 12: compile apparmor" 17arr[12]="TEST 12: compile apparmor"
18arr[13]="TEST 13: compile busybox" 18arr[13]="TEST 13: compile busybox"
19arr[14]="TEST 14: compile overlayfs disabled" 19arr[14]="TEST 14: compile overlayfs disabled"
20arr[14]="TEST 15: compile private-home disabled" 20arr[15]="TEST 15: compile private-home disabled"
21arr[15]="TEST 16: compile disable manpages"
21 22
22# remove previous reports and output file 23# remove previous reports and output file
23cleanup() { 24cleanup() {
@@ -316,6 +317,23 @@ cp output-make om15
316rm output-configure output-make 317rm output-configure output-make
317 318
318#***************************************************************** 319#*****************************************************************
320# TEST 16
321#*****************************************************************
322# - disable manpages
323#*****************************************************************
324print_title "${arr[16]}"
325cd firejail
326make distclean
327./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure
328make -j4 2>&1 | tee ../output-make
329cd ..
330grep Warning output-configure output-make > ./report-test16
331grep Error output-configure output-make >> ./report-test16
332cp output-configure oc16
333cp output-make om16
334rm output-configure output-make
335
336#*****************************************************************
319# PRINT REPORTS 337# PRINT REPORTS
320#***************************************************************** 338#*****************************************************************
321echo 339echo
@@ -344,3 +362,4 @@ echo ${arr[12]}
344echo ${arr[13]} 362echo ${arr[13]}
345echo ${arr[14]} 363echo ${arr[14]}
346echo ${arr[15]} 364echo ${arr[15]}
365echo ${arr[16]}