Skip to content

Commit 26b031f

Browse files
committed
build-gnu.sh: Fail 2 help-version*.sh and keep them into the log
1 parent c8c412c commit 26b031f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

util/build-gnu.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ grep -rl 'path_prepend_' tests/* | xargs -r "${SED}" -i 's| path_prepend_ ./src|
169169
# path_prepend_ sets $abs_path_dir_: set it manually instead.
170170
grep -rl '\$abs_path_dir_' tests/*/*.sh | xargs -r "${SED}" -i "s|\$abs_path_dir_|${UU_BUILD_DIR//\//\\/}|g"
171171

172+
# Fail tests checking for --version & --help we can't pass producing too big logs
173+
# But we keep them into the log and should not remove
174+
cp -svf /usr/bin/false tests/help/help-version.sh
175+
cp -svf /usr/bin/false tests/help/help-version-getopt.sh
176+
172177
# We can't build runcon and chcon without libselinux. But GNU no longer builds dummies of them. So consider they are SELinux specific.
173178
"${SED}" -i 's/^print_ver_.*/require_selinux_/' tests/runcon/runcon-compute.sh
174179
"${SED}" -i 's/^print_ver_.*/require_selinux_/' tests/runcon/runcon-no-reorder.sh

0 commit comments

Comments
 (0)