summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-10 09:08:52 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-08-10 09:08:52 -0400
commitcb5091633c6dc6b6d9f5498da7ded61bc698bf82 (patch)
tree45e879dce890b4c6fae360d347e269d6c34b0e01 /test
parentMerge pull request #695 from manevich/busybox-01 (diff)
downloadfirejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.tar.gz
firejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.tar.zst
firejail-cb5091633c6dc6b6d9f5498da7ded61bc698bf82.zip
Busybox workaround
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]}