aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-09-06 10:13:11 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-09-06 10:13:11 -0400
commitfa424ad84d1bcabdc35611fac4b3ca1ebe51e1e1 (patch)
tree4823ec63e95671de9f60ea2b8dbfad401f0158de /test
parenttodo (diff)
downloadfirejail-fa424ad84d1bcabdc35611fac4b3ca1ebe51e1e1.tar.gz
firejail-fa424ad84d1bcabdc35611fac4b3ca1ebe51e1e1.tar.zst
firejail-fa424ad84d1bcabdc35611fac4b3ca1ebe51e1e1.zip
compile cleanup
Diffstat (limited to 'test')
-rwxr-xr-xtest/compile/compile.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh
index 76a7162b7..44e67fe22 100755
--- a/test/compile/compile.sh
+++ b/test/compile/compile.sh
@@ -14,6 +14,7 @@ arr[11]="TEST 11: compile disable global config"
14arr[12]="TEST 12: compile apparmor" 14arr[12]="TEST 12: compile apparmor"
15arr[13]="TEST 13: compile busybox" 15arr[13]="TEST 13: compile busybox"
16arr[14]="TEST 14: compile overlayfs disabled" 16arr[14]="TEST 14: compile overlayfs disabled"
17arr[15]="TEST 15: compile apparmor enabled"
17 18
18# remove previous reports and output file 19# remove previous reports and output file
19cleanup() { 20cleanup() {
@@ -307,6 +308,24 @@ cp output-configure oc14
307cp output-make om14 308cp output-make om14
308rm output-configure output-make 309rm output-configure output-make
309 310
311#*****************************************************************
312# TEST 15
313#*****************************************************************
314# - enable apparmor
315#*****************************************************************
316print_title "${arr[15]}"
317# seccomp
318cd firejail
319make distclean
320./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure
321make -j4 2>&1 | tee ../output-make
322cd ..
323grep Warning output-configure output-make > ./report-test15
324grep Error output-configure output-make >> ./report-test15
325cp output-configure oc15
326cp output-make om15
327rm output-configure output-make
328
310 329
311#***************************************************************** 330#*****************************************************************
312# PRINT REPORTS 331# PRINT REPORTS
@@ -336,3 +355,5 @@ echo ${arr[11]}
336echo ${arr[12]} 355echo ${arr[12]}
337echo ${arr[13]} 356echo ${arr[13]}
338echo ${arr[14]} 357echo ${arr[14]}
358echo ${arr[15]}
359