diff options
Diffstat (limited to 'test/compile')
-rwxr-xr-x | test/compile/compile.sh | 19 |
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" | |||
10 | arr[5]="TEST 5: compile user namespace disabled" | 10 | arr[5]="TEST 5: compile user namespace disabled" |
11 | arr[6]="TEST 6: compile network disabled" | 11 | arr[6]="TEST 6: compile network disabled" |
12 | arr[7]="TEST 7: compile X11 disabled" | 12 | arr[7]="TEST 7: compile X11 disabled" |
13 | arr[8]="deprecated: TEST 8: compile network restricted" | 13 | arr[8]="TEST 8: compile selinux" |
14 | arr[9]="TEST 9: compile file transfer disabled" | 14 | arr[9]="TEST 9: compile file transfer disabled" |
15 | arr[10]="TEST 10: compile disable whitelist" | 15 | arr[10]="TEST 10: compile disable whitelist" |
16 | arr[11]="TEST 11: compile disable global config" | 16 | arr[11]="TEST 11: compile disable global config" |
@@ -183,6 +183,23 @@ cp output-configure oc7 | |||
183 | cp output-make om7 | 183 | cp output-make om7 |
184 | rm output-configure output-make | 184 | rm output-configure output-make |
185 | 185 | ||
186 | #***************************************************************** | ||
187 | # TEST 8 | ||
188 | #***************************************************************** | ||
189 | # - enable selinux | ||
190 | #***************************************************************** | ||
191 | print_title "${arr[8]}" | ||
192 | # seccomp | ||
193 | cd firejail | ||
194 | make distclean | ||
195 | ./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure | ||
196 | make -j4 2>&1 | tee ../output-make | ||
197 | cd .. | ||
198 | grep Warning output-configure output-make > ./report-test8 | ||
199 | grep Error output-configure output-make >> ./report-test8 | ||
200 | cp output-configure oc8 | ||
201 | cp output-make om8 | ||
202 | rm output-configure output-make | ||
186 | 203 | ||
187 | #***************************************************************** | 204 | #***************************************************************** |
188 | # TEST 9 | 205 | # TEST 9 |