From 36b5d2a900a4c39aa7c47803ead1bbf3f9ee2da5 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 12 Mar 2016 08:34:57 -0500 Subject: compile test --- test/compile/compile.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 40d37a990..70c24ca3e 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh @@ -8,6 +8,7 @@ arr[5]="TEST 5: compile user namespace disabled" arr[6]="TEST 6: compile network disabled" arr[7]="TEST 7: compile X11 disabled" arr[8]="TEST 8: compile network restricted" +arr[9]="TEST 9: compile file transfer disabled" # remove previous reports and output file @@ -184,6 +185,24 @@ grep Error output-configure output-make >> ./report-test8 rm output-configure output-make +#***************************************************************** +# TEST 9 +#***************************************************************** +# - disable file transfer +# - check compilation +#***************************************************************** +print_title "${arr[9]}" +# seccomp +cd firejail +make distclean +./configure --prefix=/usr --enable-network=restricted --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test9 +grep Error output-configure output-make >> ./report-test9 +rm output-configure output-make + + #***************************************************************** # PRINT REPORTS #***************************************************************** @@ -206,3 +225,4 @@ echo ${arr[5]} echo ${arr[6]} echo ${arr[7]} echo ${arr[8]} +echo ${arr[9]} -- cgit v1.2.3-54-g00ecf