From 45d5fe7c2aa0d6e08f19dc9eacd50314530958fd Mon Sep 17 00:00:00 2001 From: startx2017 Date: Thu, 26 Jul 2018 09:58:50 -0400 Subject: removed compile time --enable-network=restricted, --net=none allowed even if networking was disabled at compile time or at run time, fixed issue #2061 --- test/compile/compile.sh | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'test/compile') diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 9b7d19057..9d35bbcde 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh @@ -7,7 +7,7 @@ arr[4]="TEST 4: compile bind disabled" 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[8]="deprecated: TEST 8: compile network restricted" arr[9]="TEST 9: compile file transfer disabled" arr[10]="TEST 10: compile disable whitelist" arr[11]="TEST 11: compile disable global config" @@ -181,25 +181,6 @@ cp output-make om7 rm output-configure output-make -#***************************************************************** -# TEST 8 -#***************************************************************** -# - enable network restricted -#***************************************************************** -print_title "${arr[8]}" -# 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-test8 -grep Error output-configure output-make >> ./report-test8 -cp output-configure oc8 -cp output-make om8 -rm output-configure output-make - - #***************************************************************** # TEST 9 #***************************************************************** -- cgit v1.2.3-54-g00ecf