diff options
Diffstat (limited to 'test/compile/compile.sh')
-rwxr-xr-x | test/compile/compile.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 0a87913f1..6b994ba70 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh | |||
@@ -31,6 +31,7 @@ arr[15]="TEST 15: compile private-home disabled" | |||
31 | arr[16]="TEST 16: compile disable manpages" | 31 | arr[16]="TEST 16: compile disable manpages" |
32 | arr[17]="TEST 17: disable tmpfs as regular user" | 32 | arr[17]="TEST 17: disable tmpfs as regular user" |
33 | arr[18]="TEST 18: disable private home" | 33 | arr[18]="TEST 18: disable private home" |
34 | arr[18]="TEST 19: enable ids" | ||
34 | 35 | ||
35 | # remove previous reports and output file | 36 | # remove previous reports and output file |
36 | cleanup() { | 37 | cleanup() { |
@@ -380,6 +381,23 @@ cp output-make om18 | |||
380 | rm output-configure output-make | 381 | rm output-configure output-make |
381 | 382 | ||
382 | #***************************************************************** | 383 | #***************************************************************** |
384 | # TEST 19 | ||
385 | #***************************************************************** | ||
386 | # - enable ids | ||
387 | #***************************************************************** | ||
388 | print_title "${arr[19]}" | ||
389 | cd firejail | ||
390 | make distclean | ||
391 | ./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure | ||
392 | make -j4 2>&1 | tee ../output-make | ||
393 | cd .. | ||
394 | grep Warning output-configure output-make > ./report-test19 | ||
395 | grep Error output-configure output-make >> ./report-test19 | ||
396 | cp output-configure oc19 | ||
397 | cp output-make om19 | ||
398 | rm output-configure output-make | ||
399 | |||
400 | #***************************************************************** | ||
383 | # PRINT REPORTS | 401 | # PRINT REPORTS |
384 | #***************************************************************** | 402 | #***************************************************************** |
385 | echo | 403 | echo |
@@ -411,3 +429,4 @@ echo ${arr[15]} | |||
411 | echo ${arr[16]} | 429 | echo ${arr[16]} |
412 | echo ${arr[17]} | 430 | echo ${arr[17]} |
413 | echo ${arr[18]} | 431 | echo ${arr[18]} |
432 | echo ${arr[19]} | ||