diff options
author | startx2017 <vradu.startx@yandex.com> | 2020-09-01 09:54:26 -0400 |
---|---|---|
committer | startx2017 <vradu.startx@yandex.com> | 2020-09-01 09:54:26 -0400 |
commit | a5c62dfa5955ad91aa6592c0a5443b93f8432bf3 (patch) | |
tree | 2b5fecafafbc8fafb1cab44d567385da059b483c /test | |
parent | shell none: avoid syscalls after seccomp_install_filters (diff) | |
download | firejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.tar.gz firejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.tar.zst firejail-a5c62dfa5955ad91aa6592c0a5443b93f8432bf3.zip |
removed --disable-seccomp from ./configure
Diffstat (limited to 'test')
-rwxr-xr-x | test/compile/compile.sh | 38 |
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 | ||
6 | arr[1]="TEST 1: standard compilation" | 6 | arr[1]="TEST 1: standard compilation" |
7 | arr[2]="TEST 2: compile seccomp disabled" | 7 | arr[2]="deprecated" |
8 | arr[3]="TEST 3: compile chroot disabled" | 8 | arr[3]="TEST 3: compile chroot disabled" |
9 | arr[4]="TEST 4: compile firetunnel disabled" | 9 | 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" |
@@ -74,23 +74,23 @@ cp output-make om1 | |||
74 | rm output-configure output-make | 74 | rm 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 | ##***************************************************************** |
82 | print_title "${arr[2]}" | 82 | #print_title "${arr[2]}" |
83 | # seccomp | 83 | ## seccomp |
84 | cd firejail | 84 | #cd firejail |
85 | make 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 |
87 | make -j4 2>&1 | tee ../output-make | 87 | #make -j4 2>&1 | tee ../output-make |
88 | cd .. | 88 | #cd .. |
89 | grep Warning output-configure output-make > ./report-test2 | 89 | #grep Warning output-configure output-make > ./report-test2 |
90 | grep Error output-configure output-make >> ./report-test2 | 90 | #grep Error output-configure output-make >> ./report-test2 |
91 | cp output-configure oc2 | 91 | #cp output-configure oc2 |
92 | cp output-make om2 | 92 | #cp output-make om2 |
93 | rm 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* | |||
342 | echo | 342 | echo |
343 | echo "Legend:" | 343 | echo "Legend:" |
344 | echo ${arr[1]} | 344 | echo ${arr[1]} |
345 | echo ${arr[2]} | 345 | #echo ${arr[2]} |
346 | echo ${arr[3]} | 346 | echo ${arr[3]} |
347 | echo ${arr[4]} | 347 | echo ${arr[4]} |
348 | echo ${arr[5]} | 348 | echo ${arr[5]} |