diff options
author | netblue30 <netblue30@yahoo.com> | 2016-02-23 09:53:54 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-02-23 09:53:54 -0500 |
commit | 3212101227c04ac4e894199881cc486bbda28822 (patch) | |
tree | d49076ed09dff600200a11817c90797360ffb787 /test/compile | |
parent | x11 work (diff) | |
download | firejail-3212101227c04ac4e894199881cc486bbda28822.tar.gz firejail-3212101227c04ac4e894199881cc486bbda28822.tar.zst firejail-3212101227c04ac4e894199881cc486bbda28822.zip |
x11 work
Diffstat (limited to 'test/compile')
-rwxr-xr-x | test/compile/compile.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 789ebbf28..d191b4d2b 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh | |||
@@ -6,6 +6,7 @@ arr[3]="TEST 3: compile chroot disabled" | |||
6 | arr[4]="TEST 4: compile bind disabled" | 6 | arr[4]="TEST 4: compile bind disabled" |
7 | arr[5]="TEST 5: compile user namespace disabled" | 7 | arr[5]="TEST 5: compile user namespace disabled" |
8 | arr[6]="TEST 6: compile network disabled" | 8 | arr[6]="TEST 6: compile network disabled" |
9 | arr[7]="TEST 7: compile X11 disabled" | ||
9 | 10 | ||
10 | 11 | ||
11 | # remove previous reports and output file | 12 | # remove previous reports and output file |
@@ -146,6 +147,23 @@ grep Warning output-configure output-make > ./report-test6 | |||
146 | grep Error output-configure output-make >> ./report-test6 | 147 | grep Error output-configure output-make >> ./report-test6 |
147 | rm output-configure output-make | 148 | rm output-configure output-make |
148 | 149 | ||
150 | #***************************************************************** | ||
151 | # TEST 7 | ||
152 | #***************************************************************** | ||
153 | # - disable X11 support | ||
154 | # - check compilation | ||
155 | #***************************************************************** | ||
156 | print_title "${arr[6]}" | ||
157 | # seccomp | ||
158 | cd firejail | ||
159 | make distclean | ||
160 | ./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure | ||
161 | make -j4 2>&1 | tee ../output-make | ||
162 | cd .. | ||
163 | grep Warning output-configure output-make > ./report-test7 | ||
164 | grep Error output-configure output-make >> ./report-test7 | ||
165 | rm output-configure output-make | ||
166 | |||
149 | 167 | ||
150 | #***************************************************************** | 168 | #***************************************************************** |
151 | # PRINT REPORTS | 169 | # PRINT REPORTS |
@@ -167,3 +185,4 @@ echo ${arr[3]} | |||
167 | echo ${arr[4]} | 185 | echo ${arr[4]} |
168 | echo ${arr[5]} | 186 | echo ${arr[5]} |
169 | echo ${arr[6]} | 187 | echo ${arr[6]} |
188 | echo ${arr[7]} | ||