summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/dist-compile/compile.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/dist-compile/compile.sh b/test/dist-compile/compile.sh
index b33f0660a..f762b457d 100755
--- a/test/dist-compile/compile.sh
+++ b/test/dist-compile/compile.sh
@@ -12,6 +12,7 @@ arr[9]="TEST 9: compile file transfer disabled"
12arr[10]="TEST 10: compile disable whitelist" 12arr[10]="TEST 10: compile disable whitelist"
13arr[11]="TEST 11: compile disable global config" 13arr[11]="TEST 11: compile disable global config"
14arr[12]="TEST 12: compile apparmor" 14arr[12]="TEST 12: compile apparmor"
15arr[12]="TEST 13: compile busybox"
15 16
16# remove previous reports and output file 17# remove previous reports and output file
17cleanup() { 18cleanup() {
@@ -281,6 +282,25 @@ cp output-configure oc12
281cp output-make om12 282cp output-make om12
282rm output-configure output-make 283rm output-configure output-make
283 284
285#*****************************************************************
286# TEST 13
287#*****************************************************************
288# - enable busybox workaround
289# - check compilation
290#*****************************************************************
291print_title "${arr[11]}"
292# seccomp
293cd firejail
294make distclean
295./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure
296make -j4 2>&1 | tee ../output-make
297cd ..
298grep Warning output-configure output-make > ./report-test13
299grep Error output-configure output-make >> ./report-test13
300cp output-configure oc13
301cp output-make om13
302rm output-configure output-make
303
284 304
285#***************************************************************** 305#*****************************************************************
286# PRINT REPORTS 306# PRINT REPORTS
@@ -308,3 +328,4 @@ echo ${arr[9]}
308echo ${arr[10]} 328echo ${arr[10]}
309echo ${arr[11]} 329echo ${arr[11]}
310echo ${arr[12]} 330echo ${arr[12]}
331echo ${arr[13]}