From 880f2c98a1dee26228530875fc45d54db68ed1c8 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 25 May 2022 07:36:42 -0400 Subject: Removed IDS feature from the default build. To enable it, use --enable-ids at compile time. --- test/compile/compile.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'test') 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" arr[16]="TEST 16: compile disable manpages" arr[17]="TEST 17: disable tmpfs as regular user" arr[18]="TEST 18: disable private home" +arr[18]="TEST 19: enable ids" # remove previous reports and output file cleanup() { @@ -379,6 +380,23 @@ cp output-configure oc18 cp output-make om18 rm output-configure output-make +#***************************************************************** +# TEST 19 +#***************************************************************** +# - enable ids +#***************************************************************** +print_title "${arr[19]}" +cd firejail +make distclean +./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test19 +grep Error output-configure output-make >> ./report-test19 +cp output-configure oc19 +cp output-make om19 +rm output-configure output-make + #***************************************************************** # PRINT REPORTS #***************************************************************** @@ -411,3 +429,4 @@ echo ${arr[15]} echo ${arr[16]} echo ${arr[17]} echo ${arr[18]} +echo ${arr[19]} -- cgit v1.2.3-70-g09d2