diff options
Diffstat (limited to 'test/compile/compile.sh')
-rwxr-xr-x | test/compile/compile.sh | 21 |
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" | |||
17 | arr[12]="TEST 12: compile apparmor" | 17 | arr[12]="TEST 12: compile apparmor" |
18 | arr[13]="TEST 13: compile busybox" | 18 | arr[13]="TEST 13: compile busybox" |
19 | arr[14]="TEST 14: compile overlayfs disabled" | 19 | arr[14]="TEST 14: compile overlayfs disabled" |
20 | arr[14]="TEST 15: compile private-home disabled" | 20 | arr[15]="TEST 15: compile private-home disabled" |
21 | arr[15]="TEST 16: compile disable manpages" | ||
21 | 22 | ||
22 | # remove previous reports and output file | 23 | # remove previous reports and output file |
23 | cleanup() { | 24 | cleanup() { |
@@ -316,6 +317,23 @@ cp output-make om15 | |||
316 | rm output-configure output-make | 317 | rm output-configure output-make |
317 | 318 | ||
318 | #***************************************************************** | 319 | #***************************************************************** |
320 | # TEST 16 | ||
321 | #***************************************************************** | ||
322 | # - disable manpages | ||
323 | #***************************************************************** | ||
324 | print_title "${arr[16]}" | ||
325 | cd firejail | ||
326 | make distclean | ||
327 | ./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure | ||
328 | make -j4 2>&1 | tee ../output-make | ||
329 | cd .. | ||
330 | grep Warning output-configure output-make > ./report-test16 | ||
331 | grep Error output-configure output-make >> ./report-test16 | ||
332 | cp output-configure oc16 | ||
333 | cp output-make om16 | ||
334 | rm output-configure output-make | ||
335 | |||
336 | #***************************************************************** | ||
319 | # PRINT REPORTS | 337 | # PRINT REPORTS |
320 | #***************************************************************** | 338 | #***************************************************************** |
321 | echo | 339 | echo |
@@ -344,3 +362,4 @@ echo ${arr[12]} | |||
344 | echo ${arr[13]} | 362 | echo ${arr[13]} |
345 | echo ${arr[14]} | 363 | echo ${arr[14]} |
346 | echo ${arr[15]} | 364 | echo ${arr[15]} |
365 | echo ${arr[16]} | ||