aboutsummaryrefslogtreecommitdiffstats
path: root/test/compile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-05-25 07:36:42 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2022-05-25 07:36:42 -0400
commit880f2c98a1dee26228530875fc45d54db68ed1c8 (patch)
treeefeda54d345b7bab410f4dd5e59575391e8c0e17 /test/compile
parentbuild(deps): bump github/codeql-action from 2.1.10 to 2.1.11 (diff)
downloadfirejail-880f2c98a1dee26228530875fc45d54db68ed1c8.tar.gz
firejail-880f2c98a1dee26228530875fc45d54db68ed1c8.tar.zst
firejail-880f2c98a1dee26228530875fc45d54db68ed1c8.zip
Removed IDS feature from the default build. To enable it, use --enable-ids at compile time.
Diffstat (limited to 'test/compile')
-rwxr-xr-xtest/compile/compile.sh19
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"
31arr[16]="TEST 16: compile disable manpages" 31arr[16]="TEST 16: compile disable manpages"
32arr[17]="TEST 17: disable tmpfs as regular user" 32arr[17]="TEST 17: disable tmpfs as regular user"
33arr[18]="TEST 18: disable private home" 33arr[18]="TEST 18: disable private home"
34arr[18]="TEST 19: enable ids"
34 35
35# remove previous reports and output file 36# remove previous reports and output file
36cleanup() { 37cleanup() {
@@ -380,6 +381,23 @@ cp output-make om18
380rm output-configure output-make 381rm output-configure output-make
381 382
382#***************************************************************** 383#*****************************************************************
384# TEST 19
385#*****************************************************************
386# - enable ids
387#*****************************************************************
388print_title "${arr[19]}"
389cd firejail
390make distclean
391./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure
392make -j4 2>&1 | tee ../output-make
393cd ..
394grep Warning output-configure output-make > ./report-test19
395grep Error output-configure output-make >> ./report-test19
396cp output-configure oc19
397cp output-make om19
398rm output-configure output-make
399
400#*****************************************************************
383# PRINT REPORTS 401# PRINT REPORTS
384#***************************************************************** 402#*****************************************************************
385echo 403echo
@@ -411,3 +429,4 @@ echo ${arr[15]}
411echo ${arr[16]} 429echo ${arr[16]}
412echo ${arr[17]} 430echo ${arr[17]}
413echo ${arr[18]} 431echo ${arr[18]}
432echo ${arr[19]}