From 22306db161f543b3210723e3b76fe8dbbb0665c4 Mon Sep 17 00:00:00 2001 From: Michael Debertol Date: Tue, 3 Aug 2021 00:24:04 +0200 Subject: [PATCH] maint: enable gnu test for arch Gnu checks before testing a utility whether that utility was actually built. It thinks `arch` was not built, even though it was. This patch does not convince gnu that `arch` was built (I wasn't able to figure that out), but instead comments out the check in `init.cfg` when running `build-gnu.sh`. --- util/build-gnu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 1ce0133f8..5468cd3ea 100644 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -122,4 +122,7 @@ test -f "${BUILDDIR}/getlimits" || cp src/getlimits "${BUILDDIR}" # When decoding an invalid base32/64 string, gnu writes everything it was able to decode until # it hit the decode error, while we don't write anything if the input is invalid. -sed -i "s/\(baddecode.*OUT=>\"\).*\"/\1\"/g" tests/misc/base64.pl \ No newline at end of file +sed -i "s/\(baddecode.*OUT=>\"\).*\"/\1\"/g" tests/misc/base64.pl + +# Remove the check whether a util was built. Otherwise tests against utils like "arch" are not run. +sed -i "s|require_built_ |# require_built_ |g" init.cfg