diff options
-rw-r--r-- | .github/workflows/build-extra.yml | 5 | ||||
-rw-r--r-- | .github/workflows/build.yml | 5 | ||||
-rw-r--r-- | .github/workflows/check-c.yml | 3 | ||||
-rw-r--r-- | .github/workflows/test.yml | 25 | ||||
-rw-r--r-- | .gitlab-ci.yml | 22 | ||||
-rwxr-xr-x | platform/rpm/mkrpm.sh | 2 | ||||
-rwxr-xr-x | test/compile/compile.sh | 94 |
7 files changed, 116 insertions, 40 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index b0752042d..e18ab9f0c 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -63,8 +63,9 @@ jobs: | |||
63 | run: ./ci/printenv.sh | 63 | run: ./ci/printenv.sh |
64 | - name: configure | 64 | - name: configure |
65 | run: > | 65 | run: > |
66 | CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor | 66 | ./configure CC=clang-14 |
67 | --enable-selinux | 67 | --prefix=/usr --enable-fatal-warnings |
68 | --enable-apparmor --enable-selinux | ||
68 | || (cat config.log; exit 1) | 69 | || (cat config.log; exit 1) |
69 | - name: make | 70 | - name: make |
70 | run: make | 71 | run: make |
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f33670e63..a005fefd7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -79,8 +79,9 @@ jobs: | |||
79 | run: ./ci/printenv.sh | 79 | run: ./ci/printenv.sh |
80 | - name: configure | 80 | - name: configure |
81 | run: > | 81 | run: > |
82 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 82 | ./configure CC=gcc-12 |
83 | --enable-analyzer --enable-apparmor --enable-selinux | 83 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
84 | --enable-apparmor --enable-selinux | ||
84 | || (cat config.log; exit 1) | 85 | || (cat config.log; exit 1) |
85 | - name: make | 86 | - name: make |
86 | run: make | 87 | run: make |
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index dd841c394..49c9b38a7 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml | |||
@@ -68,7 +68,8 @@ jobs: | |||
68 | - name: configure | 68 | - name: configure |
69 | run: > | 69 | run: > |
70 | ./configure CC=clang-14 SCAN_BUILD=scan-build-14 | 70 | ./configure CC=clang-14 SCAN_BUILD=scan-build-14 |
71 | --enable-fatal-warnings --enable-apparmor --enable-selinux | 71 | --prefix=/usr --enable-fatal-warnings |
72 | --enable-apparmor --enable-selinux | ||
72 | || (cat config.log; exit 1) | 73 | || (cat config.log; exit 1) |
73 | - name: scan-build | 74 | - name: scan-build |
74 | run: make scan-build | 75 | run: make scan-build |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e7153c46..f0aeafc9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -73,8 +73,9 @@ jobs: | |||
73 | run: ./ci/printenv.sh | 73 | run: ./ci/printenv.sh |
74 | - name: configure | 74 | - name: configure |
75 | run: > | 75 | run: > |
76 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 76 | ./configure CC=gcc-12 |
77 | --enable-analyzer --enable-apparmor --enable-selinux | 77 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
78 | --enable-apparmor --enable-selinux | ||
78 | || (cat config.log; exit 1) | 79 | || (cat config.log; exit 1) |
79 | - name: make | 80 | - name: make |
80 | run: make -j "$(nproc)" | 81 | run: make -j "$(nproc)" |
@@ -121,8 +122,9 @@ jobs: | |||
121 | run: ./ci/printenv.sh | 122 | run: ./ci/printenv.sh |
122 | - name: configure | 123 | - name: configure |
123 | run: > | 124 | run: > |
124 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 125 | ./configure CC=gcc-12 |
125 | --enable-analyzer --enable-apparmor --enable-selinux | 126 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
127 | --enable-apparmor --enable-selinux | ||
126 | || (cat config.log; exit 1) | 128 | || (cat config.log; exit 1) |
127 | - name: make | 129 | - name: make |
128 | run: make -j "$(nproc)" | 130 | run: make -j "$(nproc)" |
@@ -160,8 +162,9 @@ jobs: | |||
160 | run: ./ci/printenv.sh | 162 | run: ./ci/printenv.sh |
161 | - name: configure | 163 | - name: configure |
162 | run: > | 164 | run: > |
163 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 165 | ./configure CC=gcc-12 |
164 | --enable-analyzer --enable-apparmor --enable-selinux | 166 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
167 | --enable-apparmor --enable-selinux | ||
165 | || (cat config.log; exit 1) | 168 | || (cat config.log; exit 1) |
166 | - name: make | 169 | - name: make |
167 | run: make -j "$(nproc)" | 170 | run: make -j "$(nproc)" |
@@ -202,8 +205,9 @@ jobs: | |||
202 | run: ./ci/printenv.sh | 205 | run: ./ci/printenv.sh |
203 | - name: configure | 206 | - name: configure |
204 | run: > | 207 | run: > |
205 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 208 | ./configure CC=gcc-12 |
206 | --enable-analyzer --enable-apparmor --enable-selinux | 209 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
210 | --enable-apparmor --enable-selinux | ||
207 | || (cat config.log; exit 1) | 211 | || (cat config.log; exit 1) |
208 | - name: make | 212 | - name: make |
209 | run: make -j "$(nproc)" | 213 | run: make -j "$(nproc)" |
@@ -248,8 +252,9 @@ jobs: | |||
248 | run: ./ci/printenv.sh | 252 | run: ./ci/printenv.sh |
249 | - name: configure | 253 | - name: configure |
250 | run: > | 254 | run: > |
251 | CC=gcc-12 ./configure --prefix=/usr --enable-fatal-warnings | 255 | ./configure CC=gcc-12 |
252 | --enable-analyzer --enable-apparmor --enable-selinux | 256 | --prefix=/usr --enable-fatal-warnings --enable-analyzer |
257 | --enable-apparmor --enable-selinux | ||
253 | || (cat config.log; exit 1) | 258 | || (cat config.log; exit 1) |
254 | - name: make | 259 | - name: make |
255 | run: make -j "$(nproc)" | 260 | run: make -j "$(nproc)" |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d4ed2dc5..71bb70b82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -22,7 +22,8 @@ build_ubuntu_package: | |||
22 | | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' | 22 | | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' |
23 | - ./ci/printenv.sh | 23 | - ./ci/printenv.sh |
24 | - ./configure || (cat config.log; exit 1) | 24 | - ./configure || (cat config.log; exit 1) |
25 | - make deb | 25 | - make dist |
26 | - ./mkdeb.sh --enable-fatal-warnings | ||
26 | - dpkg -i ./*.deb | 27 | - dpkg -i ./*.deb |
27 | - make print-version | 28 | - make print-version |
28 | 29 | ||
@@ -39,7 +40,8 @@ build_debian_package: | |||
39 | | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' | 40 | | grep -Ev '^(Selecting|Preparing to unpack|Unpacking)' |
40 | - ./ci/printenv.sh | 41 | - ./ci/printenv.sh |
41 | - ./configure || (cat config.log; exit 1) | 42 | - ./configure || (cat config.log; exit 1) |
42 | - make deb | 43 | - make dist |
44 | - ./mkdeb.sh --enable-fatal-warnings | ||
43 | - dpkg -i ./*.deb | 45 | - dpkg -i ./*.deb |
44 | - make print-version | 46 | - make print-version |
45 | 47 | ||
@@ -57,7 +59,9 @@ build_no_apparmor: | |||
57 | - ./ci/printenv.sh | 59 | - ./ci/printenv.sh |
58 | - ./configure || (cat config.log; exit 1) | 60 | - ./configure || (cat config.log; exit 1) |
59 | - make dist | 61 | - make dist |
60 | - ./mkdeb.sh --disable-apparmor | 62 | - > |
63 | ./mkdeb.sh --enable-fatal-warnings | ||
64 | --disable-apparmor | ||
61 | - dpkg -i ./*.deb | 65 | - dpkg -i ./*.deb |
62 | - make print-version | 66 | - make print-version |
63 | - make print-version | grep -F 'AppArmor support is disabled' | 67 | - make print-version | grep -F 'AppArmor support is disabled' |
@@ -70,7 +74,8 @@ build_redhat_package: | |||
70 | - dnf install -y rpm-build gcc make | 74 | - dnf install -y rpm-build gcc make |
71 | - ./ci/printenv.sh | 75 | - ./ci/printenv.sh |
72 | - ./configure || (cat config.log; exit 1) | 76 | - ./configure || (cat config.log; exit 1) |
73 | - make rpms | 77 | - make dist |
78 | - ./platform/rpm/mkrpm.sh --enable-fatal-warnings | ||
74 | - rpm -i ./*.rpm | 79 | - rpm -i ./*.rpm |
75 | - make print-version | 80 | - make print-version |
76 | 81 | ||
@@ -82,7 +87,8 @@ build_fedora_package: | |||
82 | - dnf install -y rpm-build gcc make | 87 | - dnf install -y rpm-build gcc make |
83 | - ./ci/printenv.sh | 88 | - ./ci/printenv.sh |
84 | - ./configure || (cat config.log; exit 1) | 89 | - ./configure || (cat config.log; exit 1) |
85 | - make rpms | 90 | - make dist |
91 | - ./platform/rpm/mkrpm.sh --enable-fatal-warnings | ||
86 | - rpm -i ./*.rpm | 92 | - rpm -i ./*.rpm |
87 | - make print-version | 93 | - make print-version |
88 | 94 | ||
@@ -94,7 +100,11 @@ build_src_package: | |||
94 | - apk upgrade | 100 | - apk upgrade |
95 | - apk add build-base linux-headers gawk | 101 | - apk add build-base linux-headers gawk |
96 | - ./ci/printenv.sh | 102 | - ./ci/printenv.sh |
97 | - ./configure --prefix=/usr || (cat config.log; exit 1) | 103 | # Note: Do not use ` --enable-fatal-warnings` because the build |
104 | # currently produces warnings on Alpine (see #6224). | ||
105 | - > | ||
106 | ./configure --prefix=/usr | ||
107 | || (cat config.log; exit 1) | ||
98 | - make | 108 | - make |
99 | - make install-strip | 109 | - make install-strip |
100 | - make print-version | 110 | - make print-version |
diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh index 0221fa607..46bb90036 100755 --- a/platform/rpm/mkrpm.sh +++ b/platform/rpm/mkrpm.sh | |||
@@ -16,6 +16,8 @@ set -e | |||
16 | name="$TARNAME" | 16 | name="$TARNAME" |
17 | # Strip any trailing prefix from the version like -rc1 etc | 17 | # Strip any trailing prefix from the version like -rc1 etc |
18 | version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" | 18 | version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')" |
19 | |||
20 | # Note: rpmbuild itself already passes --prefix=/usr to ./configure | ||
19 | config_opt="--disable-userns --disable-contrib-install $*" | 21 | config_opt="--disable-userns --disable-contrib-install $*" |
20 | 22 | ||
21 | if [[ ! -f "platform/rpm/${name}.spec" ]]; then | 23 | if [[ ! -f "platform/rpm/${name}.spec" ]]; then |
diff --git a/test/compile/compile.sh b/test/compile/compile.sh index 30bfe9e66..f3e5c4f33 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh | |||
@@ -81,7 +81,9 @@ tar -xJvf ../../"$DIST.tar.xz" | |||
81 | mv "$DIST" firejail | 81 | mv "$DIST" firejail |
82 | 82 | ||
83 | cd firejail || exit 1 | 83 | cd firejail || exit 1 |
84 | ./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure | 84 | ./configure --prefix=/usr --enable-fatal-warnings \ |
85 | 2>&1 | tee ../output-configure | ||
86 | |||
85 | make -j "$(nproc)" 2>&1 | tee ../output-make | 87 | make -j "$(nproc)" 2>&1 | tee ../output-make |
86 | cd .. | 88 | cd .. |
87 | grep Warning output-configure output-make > ./report-test1 | 89 | grep Warning output-configure output-make > ./report-test1 |
@@ -98,7 +100,10 @@ rm output-configure output-make | |||
98 | print_title "${arr[2]}" | 100 | print_title "${arr[2]}" |
99 | cd firejail || exit 1 | 101 | cd firejail || exit 1 |
100 | make distclean | 102 | make distclean |
101 | ./configure --prefix=/usr --disable-dbusproxy --enable-fatal-warnings 2>&1 | tee ../output-configure | 103 | ./configure --prefix=/usr --enable-fatal-warnings \ |
104 | --disable-dbusproxy \ | ||
105 | 2>&1 | tee ../output-configure | ||
106 | |||
102 | make -j "$(nproc)" 2>&1 | tee ../output-make | 107 | make -j "$(nproc)" 2>&1 | tee ../output-make |
103 | cd .. | 108 | cd .. |
104 | grep Warning output-configure output-make > ./report-test2 | 109 | grep Warning output-configure output-make > ./report-test2 |
@@ -115,7 +120,10 @@ rm output-configure output-make | |||
115 | print_title "${arr[3]}" | 120 | print_title "${arr[3]}" |
116 | cd firejail || exit 1 | 121 | cd firejail || exit 1 |
117 | make distclean | 122 | make distclean |
118 | ./configure --prefix=/usr --disable-chroot --enable-fatal-warnings 2>&1 | tee ../output-configure | 123 | ./configure --prefix=/usr --enable-fatal-warnings \ |
124 | --disable-chroot \ | ||
125 | 2>&1 | tee ../output-configure | ||
126 | |||
119 | make -j "$(nproc)" 2>&1 | tee ../output-make | 127 | make -j "$(nproc)" 2>&1 | tee ../output-make |
120 | cd .. | 128 | cd .. |
121 | grep Warning output-configure output-make > ./report-test3 | 129 | grep Warning output-configure output-make > ./report-test3 |
@@ -132,7 +140,10 @@ rm output-configure output-make | |||
132 | print_title "${arr[4]}" | 140 | print_title "${arr[4]}" |
133 | cd firejail || exit 1 | 141 | cd firejail || exit 1 |
134 | make distclean | 142 | make distclean |
135 | ./configure --prefix=/usr --disable-firetunnel --enable-fatal-warnings 2>&1 | tee ../output-configure | 143 | ./configure --prefix=/usr --enable-fatal-warnings \ |
144 | --disable-firetunnel \ | ||
145 | 2>&1 | tee ../output-configure | ||
146 | |||
136 | make -j "$(nproc)" 2>&1 | tee ../output-make | 147 | make -j "$(nproc)" 2>&1 | tee ../output-make |
137 | cd .. | 148 | cd .. |
138 | grep Warning output-configure output-make > ./report-test4 | 149 | grep Warning output-configure output-make > ./report-test4 |
@@ -149,7 +160,10 @@ rm output-configure output-make | |||
149 | print_title "${arr[5]}" | 160 | print_title "${arr[5]}" |
150 | cd firejail || exit 1 | 161 | cd firejail || exit 1 |
151 | make distclean | 162 | make distclean |
152 | ./configure --prefix=/usr --disable-userns --enable-fatal-warnings 2>&1 | tee ../output-configure | 163 | ./configure --prefix=/usr --enable-fatal-warnings \ |
164 | --disable-userns \ | ||
165 | 2>&1 | tee ../output-configure | ||
166 | |||
153 | make -j "$(nproc)" 2>&1 | tee ../output-make | 167 | make -j "$(nproc)" 2>&1 | tee ../output-make |
154 | cd .. | 168 | cd .. |
155 | grep Warning output-configure output-make > ./report-test5 | 169 | grep Warning output-configure output-make > ./report-test5 |
@@ -167,7 +181,10 @@ rm output-configure output-make | |||
167 | print_title "${arr[6]}" | 181 | print_title "${arr[6]}" |
168 | cd firejail || exit 1 | 182 | cd firejail || exit 1 |
169 | make distclean | 183 | make distclean |
170 | ./configure --prefix=/usr --disable-network --enable-fatal-warnings 2>&1 | tee ../output-configure | 184 | ./configure --prefix=/usr --enable-fatal-warnings \ |
185 | --disable-network \ | ||
186 | 2>&1 | tee ../output-configure | ||
187 | |||
171 | make -j "$(nproc)" 2>&1 | tee ../output-make | 188 | make -j "$(nproc)" 2>&1 | tee ../output-make |
172 | cd .. | 189 | cd .. |
173 | grep Warning output-configure output-make > ./report-test6 | 190 | grep Warning output-configure output-make > ./report-test6 |
@@ -184,7 +201,10 @@ rm output-configure output-make | |||
184 | print_title "${arr[7]}" | 201 | print_title "${arr[7]}" |
185 | cd firejail || exit 1 | 202 | cd firejail || exit 1 |
186 | make distclean | 203 | make distclean |
187 | ./configure --prefix=/usr --disable-x11 --enable-fatal-warnings 2>&1 | tee ../output-configure | 204 | ./configure --prefix=/usr --enable-fatal-warnings \ |
205 | --disable-x11 \ | ||
206 | 2>&1 | tee ../output-configure | ||
207 | |||
188 | make -j "$(nproc)" 2>&1 | tee ../output-make | 208 | make -j "$(nproc)" 2>&1 | tee ../output-make |
189 | cd .. | 209 | cd .. |
190 | grep Warning output-configure output-make > ./report-test7 | 210 | grep Warning output-configure output-make > ./report-test7 |
@@ -201,7 +221,10 @@ rm output-configure output-make | |||
201 | print_title "${arr[8]}" | 221 | print_title "${arr[8]}" |
202 | cd firejail || exit 1 | 222 | cd firejail || exit 1 |
203 | make distclean | 223 | make distclean |
204 | ./configure --prefix=/usr --enable-selinux --enable-fatal-warnings 2>&1 | tee ../output-configure | 224 | ./configure --prefix=/usr --enable-fatal-warnings \ |
225 | --enable-selinux \ | ||
226 | 2>&1 | tee ../output-configure | ||
227 | |||
205 | make -j "$(nproc)" 2>&1 | tee ../output-make | 228 | make -j "$(nproc)" 2>&1 | tee ../output-make |
206 | cd .. | 229 | cd .. |
207 | grep Warning output-configure output-make > ./report-test8 | 230 | grep Warning output-configure output-make > ./report-test8 |
@@ -218,7 +241,10 @@ rm output-configure output-make | |||
218 | print_title "${arr[9]}" | 241 | print_title "${arr[9]}" |
219 | cd firejail || exit 1 | 242 | cd firejail || exit 1 |
220 | make distclean | 243 | make distclean |
221 | ./configure --prefix=/usr --disable-file-transfer --enable-fatal-warnings 2>&1 | tee ../output-configure | 244 | ./configure --prefix=/usr --enable-fatal-warnings \ |
245 | --disable-file-transfer \ | ||
246 | 2>&1 | tee ../output-configure | ||
247 | |||
222 | make -j "$(nproc)" 2>&1 | tee ../output-make | 248 | make -j "$(nproc)" 2>&1 | tee ../output-make |
223 | cd .. | 249 | cd .. |
224 | grep Warning output-configure output-make > ./report-test9 | 250 | grep Warning output-configure output-make > ./report-test9 |
@@ -235,7 +261,10 @@ rm output-configure output-make | |||
235 | print_title "${arr[10]}" | 261 | print_title "${arr[10]}" |
236 | cd firejail || exit 1 | 262 | cd firejail || exit 1 |
237 | make distclean | 263 | make distclean |
238 | ./configure --prefix=/usr --disable-whitelist --enable-fatal-warnings 2>&1 | tee ../output-configure | 264 | ./configure --prefix=/usr --enable-fatal-warnings \ |
265 | --disable-whitelist \ | ||
266 | 2>&1 | tee ../output-configure | ||
267 | |||
239 | make -j "$(nproc)" 2>&1 | tee ../output-make | 268 | make -j "$(nproc)" 2>&1 | tee ../output-make |
240 | cd .. | 269 | cd .. |
241 | grep Warning output-configure output-make > ./report-test10 | 270 | grep Warning output-configure output-make > ./report-test10 |
@@ -252,7 +281,10 @@ rm output-configure output-make | |||
252 | print_title "${arr[11]}" | 281 | print_title "${arr[11]}" |
253 | cd firejail || exit 1 | 282 | cd firejail || exit 1 |
254 | make distclean | 283 | make distclean |
255 | ./configure --prefix=/usr --disable-globalcfg --enable-fatal-warnings 2>&1 | tee ../output-configure | 284 | ./configure --prefix=/usr --enable-fatal-warnings \ |
285 | --disable-globalcfg \ | ||
286 | 2>&1 | tee ../output-configure | ||
287 | |||
256 | make -j "$(nproc)" 2>&1 | tee ../output-make | 288 | make -j "$(nproc)" 2>&1 | tee ../output-make |
257 | cd .. | 289 | cd .. |
258 | grep Warning output-configure output-make > ./report-test11 | 290 | grep Warning output-configure output-make > ./report-test11 |
@@ -269,7 +301,10 @@ rm output-configure output-make | |||
269 | print_title "${arr[12]}" | 301 | print_title "${arr[12]}" |
270 | cd firejail || exit 1 | 302 | cd firejail || exit 1 |
271 | make distclean | 303 | make distclean |
272 | ./configure --prefix=/usr --enable-apparmor --enable-fatal-warnings 2>&1 | tee ../output-configure | 304 | ./configure --prefix=/usr --enable-fatal-warnings \ |
305 | --enable-apparmor \ | ||
306 | 2>&1 | tee ../output-configure | ||
307 | |||
273 | make -j "$(nproc)" 2>&1 | tee ../output-make | 308 | make -j "$(nproc)" 2>&1 | tee ../output-make |
274 | cd .. | 309 | cd .. |
275 | grep Warning output-configure output-make > ./report-test12 | 310 | grep Warning output-configure output-make > ./report-test12 |
@@ -286,7 +321,10 @@ rm output-configure output-make | |||
286 | print_title "${arr[13]}" | 321 | print_title "${arr[13]}" |
287 | cd firejail || exit 1 | 322 | cd firejail || exit 1 |
288 | make distclean | 323 | make distclean |
289 | ./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure | 324 | ./configure --prefix=/usr --enable-fatal-warnings \ |
325 | --enable-busybox-workaround \ | ||
326 | 2>&1 | tee ../output-configure | ||
327 | |||
290 | make -j "$(nproc)" 2>&1 | tee ../output-make | 328 | make -j "$(nproc)" 2>&1 | tee ../output-make |
291 | cd .. | 329 | cd .. |
292 | grep Warning output-configure output-make > ./report-test13 | 330 | grep Warning output-configure output-make > ./report-test13 |
@@ -303,7 +341,10 @@ rm output-configure output-make | |||
303 | print_title "${arr[14]}" | 341 | print_title "${arr[14]}" |
304 | cd firejail || exit 1 | 342 | cd firejail || exit 1 |
305 | make distclean | 343 | make distclean |
306 | ./configure --prefix=/usr --disable-overlayfs --enable-fatal-warnings 2>&1 | tee ../output-configure | 344 | ./configure --prefix=/usr --enable-fatal-warnings \ |
345 | --disable-overlayfs \ | ||
346 | 2>&1 | tee ../output-configure | ||
347 | |||
307 | make -j "$(nproc)" 2>&1 | tee ../output-make | 348 | make -j "$(nproc)" 2>&1 | tee ../output-make |
308 | cd .. | 349 | cd .. |
309 | grep Warning output-configure output-make > ./report-test14 | 350 | grep Warning output-configure output-make > ./report-test14 |
@@ -320,7 +361,10 @@ rm output-configure output-make | |||
320 | print_title "${arr[15]}" | 361 | print_title "${arr[15]}" |
321 | cd firejail || exit 1 | 362 | cd firejail || exit 1 |
322 | make distclean | 363 | make distclean |
323 | ./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure | 364 | ./configure --prefix=/usr --enable-fatal-warnings \ |
365 | --disable-private-home \ | ||
366 | 2>&1 | tee ../output-configure | ||
367 | |||
324 | make -j "$(nproc)" 2>&1 | tee ../output-make | 368 | make -j "$(nproc)" 2>&1 | tee ../output-make |
325 | cd .. | 369 | cd .. |
326 | grep Warning output-configure output-make > ./report-test15 | 370 | grep Warning output-configure output-make > ./report-test15 |
@@ -337,7 +381,10 @@ rm output-configure output-make | |||
337 | print_title "${arr[16]}" | 381 | print_title "${arr[16]}" |
338 | cd firejail || exit 1 | 382 | cd firejail || exit 1 |
339 | make distclean | 383 | make distclean |
340 | ./configure --prefix=/usr --disable-man --enable-fatal-warnings 2>&1 | tee ../output-configure | 384 | ./configure --prefix=/usr --enable-fatal-warnings \ |
385 | --disable-man \ | ||
386 | 2>&1 | tee ../output-configure | ||
387 | |||
341 | make -j "$(nproc)" 2>&1 | tee ../output-make | 388 | make -j "$(nproc)" 2>&1 | tee ../output-make |
342 | cd .. | 389 | cd .. |
343 | grep Warning output-configure output-make > ./report-test16 | 390 | grep Warning output-configure output-make > ./report-test16 |
@@ -354,7 +401,10 @@ rm output-configure output-make | |||
354 | print_title "${arr[17]}" | 401 | print_title "${arr[17]}" |
355 | cd firejail || exit 1 | 402 | cd firejail || exit 1 |
356 | make distclean | 403 | make distclean |
357 | ./configure --prefix=/usr --disable-usertmpfs --enable-fatal-warnings 2>&1 | tee ../output-configure | 404 | ./configure --prefix=/usr --enable-fatal-warnings \ |
405 | --disable-usertmpfs \ | ||
406 | 2>&1 | tee ../output-configure | ||
407 | |||
358 | make -j "$(nproc)" 2>&1 | tee ../output-make | 408 | make -j "$(nproc)" 2>&1 | tee ../output-make |
359 | cd .. | 409 | cd .. |
360 | grep Warning output-configure output-make > ./report-test17 | 410 | grep Warning output-configure output-make > ./report-test17 |
@@ -371,7 +421,10 @@ rm output-configure output-make | |||
371 | print_title "${arr[18]}" | 421 | print_title "${arr[18]}" |
372 | cd firejail || exit 1 | 422 | cd firejail || exit 1 |
373 | make distclean | 423 | make distclean |
374 | ./configure --prefix=/usr --disable-private-home --enable-fatal-warnings 2>&1 | tee ../output-configure | 424 | ./configure --prefix=/usr --enable-fatal-warnings \ |
425 | --disable-private-home \ | ||
426 | 2>&1 | tee ../output-configure | ||
427 | |||
375 | make -j "$(nproc)" 2>&1 | tee ../output-make | 428 | make -j "$(nproc)" 2>&1 | tee ../output-make |
376 | cd .. | 429 | cd .. |
377 | grep Warning output-configure output-make > ./report-test18 | 430 | grep Warning output-configure output-make > ./report-test18 |
@@ -388,7 +441,10 @@ rm output-configure output-make | |||
388 | print_title "${arr[19]}" | 441 | print_title "${arr[19]}" |
389 | cd firejail || exit 1 | 442 | cd firejail || exit 1 |
390 | make distclean | 443 | make distclean |
391 | ./configure --prefix=/usr --enable-ids --enable-fatal-warnings 2>&1 | tee ../output-configure | 444 | ./configure --prefix=/usr --enable-fatal-warnings \ |
445 | --enable-ids \ | ||
446 | 2>&1 | tee ../output-configure | ||
447 | |||
392 | make -j "$(nproc)" 2>&1 | tee ../output-make | 448 | make -j "$(nproc)" 2>&1 | tee ../output-make |
393 | cd .. | 449 | cd .. |
394 | grep Warning output-configure output-make > ./report-test19 | 450 | grep Warning output-configure output-make > ./report-test19 |