aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-05 09:57:34 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-05 09:57:34 -0400
commit0dc883bfcb1e4c2bfec41bef4f7a4001e6aa983d (patch)
treee527e7b2e802ad7e5d6ea577c417f99d74863ec9 /test
parentfixing my previous commit (diff)
downloadfirejail-0dc883bfcb1e4c2bfec41bef4f7a4001e6aa983d.tar.gz
firejail-0dc883bfcb1e4c2bfec41bef4f7a4001e6aa983d.tar.zst
firejail-0dc883bfcb1e4c2bfec41bef4f7a4001e6aa983d.zip
compile cleanup
Diffstat (limited to 'test')
-rwxr-xr-xtest/compile/compile.sh19
1 files changed, 18 insertions, 1 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh
index ccf37dc40..2f9e0ece6 100755
--- a/test/compile/compile.sh
+++ b/test/compile/compile.sh
@@ -10,7 +10,7 @@ arr[4]="TEST 4: compile firetunnel disabled"
10arr[5]="TEST 5: compile user namespace disabled" 10arr[5]="TEST 5: compile user namespace disabled"
11arr[6]="TEST 6: compile network disabled" 11arr[6]="TEST 6: compile network disabled"
12arr[7]="TEST 7: compile X11 disabled" 12arr[7]="TEST 7: compile X11 disabled"
13arr[8]="deprecated: TEST 8: compile network restricted" 13arr[8]="TEST 8: compile selinux"
14arr[9]="TEST 9: compile file transfer disabled" 14arr[9]="TEST 9: compile file transfer disabled"
15arr[10]="TEST 10: compile disable whitelist" 15arr[10]="TEST 10: compile disable whitelist"
16arr[11]="TEST 11: compile disable global config" 16arr[11]="TEST 11: compile disable global config"
@@ -183,6 +183,23 @@ cp output-configure oc7
183cp output-make om7 183cp output-make om7
184rm output-configure output-make 184rm output-configure output-make
185 185
186#*****************************************************************
187# TEST 8
188#*****************************************************************
189# - enable selinux
190#*****************************************************************
191print_title "${arr[8]}"
192# seccomp
193cd firejail
194make distclean
195./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure
196make -j4 2>&1 | tee ../output-make
197cd ..
198grep Warning output-configure output-make > ./report-test8
199grep Error output-configure output-make >> ./report-test8
200cp output-configure oc8
201cp output-make om8
202rm output-configure output-make
186 203
187#***************************************************************** 204#*****************************************************************
188# TEST 9 205# TEST 9