aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-28 12:48:01 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-28 14:08:01 -0300
commit59ed39ec460743e97bcce22e62d27ba0a569b82f (patch)
tree1a68d55af7282c201203f46a93e8592a138c519b /test
parentMerge branch 'master' of ssh://github.com/netblue30/firejail (diff)
downloadfirejail-59ed39ec460743e97bcce22e62d27ba0a569b82f.tar.gz
firejail-59ed39ec460743e97bcce22e62d27ba0a569b82f.tar.zst
firejail-59ed39ec460743e97bcce22e62d27ba0a569b82f.zip
build: fix shellcheck issues in mkrpm.sh/compile.sh
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 da6e43a5a..06b4646a8 100755
--- a/test/compile/compile.sh
+++ b/test/compile/compile.sh
@@ -79,7 +79,7 @@ echo "$DIST"
79tar -xJvf ../../"$DIST.tar.xz" 79tar -xJvf ../../"$DIST.tar.xz"
80mv "$DIST" firejail 80mv "$DIST" firejail
81 81
82cd firejail 82cd firejail || exit 1
83./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure 83./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure
84make -j4 2>&1 | tee ../output-make 84make -j4 2>&1 | tee ../output-make
85cd .. 85cd ..
@@ -95,7 +95,7 @@ rm output-configure output-make
95# - disable dbus proxy configuration 95# - disable dbus proxy configuration
96#***************************************************************** 96#*****************************************************************
97print_title "${arr[2]}" 97print_title "${arr[2]}"
98cd firejail 98cd firejail || exit 1
99make distclean 99make distclean
100./configure --prefix=/usr --disable-dbusproxy --enable-fatal-warnings 2>&1 | tee ../output-configure 100./configure --prefix=/usr --disable-dbusproxy --enable-fatal-warnings 2>&1 | tee ../output-configure
101make -j4 2>&1 | tee ../output-make 101make -j4 2>&1 | tee ../output-make
@@ -112,7 +112,7 @@ rm output-configure output-make
112# - disable chroot configuration 112# - disable chroot configuration
113#***************************************************************** 113#*****************************************************************
114print_title "${arr[3]}" 114print_title "${arr[3]}"
115cd firejail 115cd firejail || exit 1
116make distclean 116make distclean
117./configure --prefix=/usr --disable-chroot --enable-fatal-warnings 2>&1 | tee ../output-configure 117./configure --prefix=/usr --disable-chroot --enable-fatal-warnings 2>&1 | tee ../output-configure
118make -j4 2>&1 | tee ../output-make 118make -j4 2>&1 | tee ../output-make
@@ -129,7 +129,7 @@ rm output-configure output-make
129# - disable firetunnel configuration 129# - disable firetunnel configuration
130#***************************************************************** 130#*****************************************************************
131print_title "${arr[4]}" 131print_title "${arr[4]}"
132cd firejail 132cd firejail || exit 1
133make distclean 133make distclean
134./configure --prefix=/usr --disable-firetunnel --enable-fatal-warnings 2>&1 | tee ../output-configure 134./configure --prefix=/usr --disable-firetunnel --enable-fatal-warnings 2>&1 | tee ../output-configure
135make -j4 2>&1 | tee ../output-make 135make -j4 2>&1 | tee ../output-make
@@ -146,7 +146,7 @@ rm output-configure output-make
146# - disable user namespace configuration 146# - disable user namespace configuration
147#***************************************************************** 147#*****************************************************************
148print_title "${arr[5]}" 148print_title "${arr[5]}"
149cd firejail 149cd firejail || exit 1
150make distclean 150make distclean
151./configure --prefix=/usr --disable-userns --enable-fatal-warnings 2>&1 | tee ../output-configure 151./configure --prefix=/usr --disable-userns --enable-fatal-warnings 2>&1 | tee ../output-configure
152make -j4 2>&1 | tee ../output-make 152make -j4 2>&1 | tee ../output-make
@@ -164,7 +164,7 @@ rm output-configure output-make
164# - check compilation 164# - check compilation
165#***************************************************************** 165#*****************************************************************
166print_title "${arr[6]}" 166print_title "${arr[6]}"
167cd firejail 167cd firejail || exit 1
168make distclean 168make distclean
169./configure --prefix=/usr --disable-network --enable-fatal-warnings 2>&1 | tee ../output-configure 169./configure --prefix=/usr --disable-network --enable-fatal-warnings 2>&1 | tee ../output-configure
170make -j4 2>&1 | tee ../output-make 170make -j4 2>&1 | tee ../output-make
@@ -181,7 +181,7 @@ rm output-configure output-make
181# - disable X11 support 181# - disable X11 support
182#***************************************************************** 182#*****************************************************************
183print_title "${arr[7]}" 183print_title "${arr[7]}"
184cd firejail 184cd firejail || exit 1
185make distclean 185make distclean
186./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure 186./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure
187make -j4 2>&1 | tee ../output-make 187make -j4 2>&1 | tee ../output-make
@@ -198,7 +198,7 @@ rm output-configure output-make
198# - enable selinux 198# - enable selinux
199#***************************************************************** 199#*****************************************************************
200print_title "${arr[8]}" 200print_title "${arr[8]}"
201cd firejail 201cd firejail || exit 1
202make distclean 202make distclean
203./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure 203./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure
204make -j4 2>&1 | tee ../output-make 204make -j4 2>&1 | tee ../output-make
@@ -215,7 +215,7 @@ rm output-configure output-make
215# - disable file transfer 215# - disable file transfer
216#***************************************************************** 216#*****************************************************************
217print_title "${arr[9]}" 217print_title "${arr[9]}"
218cd firejail 218cd firejail || exit 1
219make distclean 219make distclean
220./configure --prefix=/usr --disable-file-transfer --enable-fatal-warnings 2>&1 | tee ../output-configure 220./configure --prefix=/usr --disable-file-transfer --enable-fatal-warnings 2>&1 | tee ../output-configure
221make -j4 2>&1 | tee ../output-make 221make -j4 2>&1 | tee ../output-make
@@ -232,7 +232,7 @@ rm output-configure output-make
232# - disable whitelist 232# - disable whitelist
233#***************************************************************** 233#*****************************************************************
234print_title "${arr[10]}" 234print_title "${arr[10]}"
235cd firejail 235cd firejail || exit 1
236make distclean 236make distclean
237./configure --prefix=/usr --disable-whitelist --enable-fatal-warnings 2>&1 | tee ../output-configure 237./configure --prefix=/usr --disable-whitelist --enable-fatal-warnings 2>&1 | tee ../output-configure
238make -j4 2>&1 | tee ../output-make 238make -j4 2>&1 | tee ../output-make
@@ -249,7 +249,7 @@ rm output-configure output-make
249# - disable global config 249# - disable global config
250#***************************************************************** 250#*****************************************************************
251print_title "${arr[11]}" 251print_title "${arr[11]}"
252cd firejail 252cd firejail || exit 1
253make distclean 253make distclean
254./configure --prefix=/usr --disable-globalcfg --enable-fatal-warnings 2>&1 | tee ../output-configure 254./configure --prefix=/usr --disable-globalcfg --enable-fatal-warnings 2>&1 | tee ../output-configure
255make -j4 2>&1 | tee ../output-make 255make -j4 2>&1 | tee ../output-make
@@ -266,7 +266,7 @@ rm output-configure output-make
266# - enable apparmor 266# - enable apparmor
267#***************************************************************** 267#*****************************************************************
268print_title "${arr[12]}" 268print_title "${arr[12]}"
269cd firejail 269cd firejail || exit 1
270make distclean 270make distclean
271./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure 271./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure
272make -j4 2>&1 | tee ../output-make 272make -j4 2>&1 | tee ../output-make
@@ -283,7 +283,7 @@ rm output-configure output-make
283# - enable busybox workaround 283# - enable busybox workaround
284#***************************************************************** 284#*****************************************************************
285print_title "${arr[13]}" 285print_title "${arr[13]}"
286cd firejail 286cd firejail || exit 1
287make distclean 287make distclean
288./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure 288./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure
289make -j4 2>&1 | tee ../output-make 289make -j4 2>&1 | tee ../output-make
@@ -300,7 +300,7 @@ rm output-configure output-make
300# - disable overlayfs 300# - disable overlayfs
301#***************************************************************** 301#*****************************************************************
302print_title "${arr[14]}" 302print_title "${arr[14]}"
303cd firejail 303cd firejail || exit 1
304make distclean 304make distclean
305./configure --prefix=/usr --disable-overlayfs --enable-fatal-warnings 2>&1 | tee ../output-configure 305./configure --prefix=/usr --disable-overlayfs --enable-fatal-warnings 2>&1 | tee ../output-configure
306make -j4 2>&1 | tee ../output-make 306make -j4 2>&1 | tee ../output-make
@@ -317,7 +317,7 @@ rm output-configure output-make
317# - disable private home 317# - disable private home
318#***************************************************************** 318#*****************************************************************
319print_title "${arr[15]}" 319print_title "${arr[15]}"
320cd firejail 320cd firejail || exit 1
321make distclean 321make distclean
322./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure 322./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure
323make -j4 2>&1 | tee ../output-make 323make -j4 2>&1 | tee ../output-make
@@ -334,7 +334,7 @@ rm output-configure output-make
334# - disable manpages 334# - disable manpages
335#***************************************************************** 335#*****************************************************************
336print_title "${arr[16]}" 336print_title "${arr[16]}"
337cd firejail 337cd firejail || exit 1
338make distclean 338make distclean
339./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure 339./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure
340make -j4 2>&1 | tee ../output-make 340make -j4 2>&1 | tee ../output-make
@@ -351,7 +351,7 @@ rm output-configure output-make
351# - disable tmpfs as regular user" 351# - disable tmpfs as regular user"
352#***************************************************************** 352#*****************************************************************
353print_title "${arr[17]}" 353print_title "${arr[17]}"
354cd firejail 354cd firejail || exit 1
355make distclean 355make distclean
356./configure --prefix=/usr --disable-usertmpfs --enable-fatal-warnings 2>&1 | tee ../output-configure 356./configure --prefix=/usr --disable-usertmpfs --enable-fatal-warnings 2>&1 | tee ../output-configure
357make -j4 2>&1 | tee ../output-make 357make -j4 2>&1 | tee ../output-make
@@ -368,7 +368,7 @@ rm output-configure output-make
368# - disable private home feature 368# - disable private home feature
369#***************************************************************** 369#*****************************************************************
370print_title "${arr[18]}" 370print_title "${arr[18]}"
371cd firejail 371cd firejail || exit 1
372make distclean 372make distclean
373./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure 373./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure
374make -j4 2>&1 | tee ../output-make 374make -j4 2>&1 | tee ../output-make
@@ -385,7 +385,7 @@ rm output-configure output-make
385# - enable ids 385# - enable ids
386#***************************************************************** 386#*****************************************************************
387print_title "${arr[19]}" 387print_title "${arr[19]}"
388cd firejail 388cd firejail || exit 1
389make distclean 389make distclean
390./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure 390./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure
391make -j4 2>&1 | tee ../output-make 391make -j4 2>&1 | tee ../output-make