aboutsummaryrefslogtreecommitdiffstats
path: root/test/compile/compile.sh
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-02-23 09:53:54 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-02-23 09:53:54 -0500
commit3212101227c04ac4e894199881cc486bbda28822 (patch)
treed49076ed09dff600200a11817c90797360ffb787 /test/compile/compile.sh
parentx11 work (diff)
downloadfirejail-3212101227c04ac4e894199881cc486bbda28822.tar.gz
firejail-3212101227c04ac4e894199881cc486bbda28822.tar.zst
firejail-3212101227c04ac4e894199881cc486bbda28822.zip
x11 work
Diffstat (limited to 'test/compile/compile.sh')
-rwxr-xr-xtest/compile/compile.sh19
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"
6arr[4]="TEST 4: compile bind disabled" 6arr[4]="TEST 4: compile bind disabled"
7arr[5]="TEST 5: compile user namespace disabled" 7arr[5]="TEST 5: compile user namespace disabled"
8arr[6]="TEST 6: compile network disabled" 8arr[6]="TEST 6: compile network disabled"
9arr[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
146grep Error output-configure output-make >> ./report-test6 147grep Error output-configure output-make >> ./report-test6
147rm output-configure output-make 148rm output-configure output-make
148 149
150#*****************************************************************
151# TEST 7
152#*****************************************************************
153# - disable X11 support
154# - check compilation
155#*****************************************************************
156print_title "${arr[6]}"
157# seccomp
158cd firejail
159make distclean
160./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure
161make -j4 2>&1 | tee ../output-make
162cd ..
163grep Warning output-configure output-make > ./report-test7
164grep Error output-configure output-make >> ./report-test7
165rm output-configure output-make
166
149 167
150#***************************************************************** 168#*****************************************************************
151# PRINT REPORTS 169# PRINT REPORTS
@@ -167,3 +185,4 @@ echo ${arr[3]}
167echo ${arr[4]} 185echo ${arr[4]}
168echo ${arr[5]} 186echo ${arr[5]}
169echo ${arr[6]} 187echo ${arr[6]}
188echo ${arr[7]}