aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2020-09-01 09:54:26 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2020-09-01 09:54:26 -0400
commita5c62dfa5955ad91aa6592c0a5443b93f8432bf3 (patch)
tree2b5fecafafbc8fafb1cab44d567385da059b483c /test
parentshell none: avoid syscalls after seccomp_install_filters (diff)
downloadfirejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.tar.gz
firejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.tar.zst
firejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.zip
removed --disable-seccomp from ./configure
Diffstat (limited to 'test')
-rwxr-xr-xtest/compile/compile.sh38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh
index 2f9e0ece6..3d334e0fa 100755
--- a/test/compile/compile.sh
+++ b/test/compile/compile.sh
@@ -4,7 +4,7 @@
4# License GPL v2 4# License GPL v2
5 5
6arr[1]="TEST 1: standard compilation" 6arr[1]="TEST 1: standard compilation"
7arr[2]="TEST 2: compile seccomp disabled" 7arr[2]="deprecated"
8arr[3]="TEST 3: compile chroot disabled" 8arr[3]="TEST 3: compile chroot disabled"
9arr[4]="TEST 4: compile firetunnel disabled" 9arr[4]="TEST 4: compile firetunnel disabled"
10arr[5]="TEST 5: compile user namespace disabled" 10arr[5]="TEST 5: compile user namespace disabled"
@@ -74,23 +74,23 @@ cp output-make om1
74rm output-configure output-make 74rm output-configure output-make
75 75
76 76
77#***************************************************************** 77##*****************************************************************
78# TEST 2 78## TEST 2
79#***************************************************************** 79##*****************************************************************
80# - disable seccomp configuration 80## - disable seccomp configuration
81#***************************************************************** 81##*****************************************************************
82print_title "${arr[2]}" 82#print_title "${arr[2]}"
83# seccomp 83## seccomp
84cd firejail 84#cd firejail
85make distclean 85#make distclean
86./configure --prefix=/usr --disable-seccomp --enable-fatal-warnings 2>&1 | tee ../output-configure 86#./configure --prefix=/usr --disable-seccomp --enable-fatal-warnings 2>&1 | tee ../output-configure
87make -j4 2>&1 | tee ../output-make 87#make -j4 2>&1 | tee ../output-make
88cd .. 88#cd ..
89grep Warning output-configure output-make > ./report-test2 89#grep Warning output-configure output-make > ./report-test2
90grep Error output-configure output-make >> ./report-test2 90#grep Error output-configure output-make >> ./report-test2
91cp output-configure oc2 91#cp output-configure oc2
92cp output-make om2 92#cp output-make om2
93rm output-configure output-make 93#rm output-configure output-make
94 94
95#***************************************************************** 95#*****************************************************************
96# TEST 3 96# TEST 3
@@ -342,7 +342,7 @@ wc -l report-test*
342echo 342echo
343echo "Legend:" 343echo "Legend:"
344echo ${arr[1]} 344echo ${arr[1]}
345echo ${arr[2]} 345#echo ${arr[2]}
346echo ${arr[3]} 346echo ${arr[3]}
347echo ${arr[4]} 347echo ${arr[4]}
348echo ${arr[5]} 348echo ${arr[5]}