Merge pull request #2545 from miDeb/maint/arch-gnu-test

maint: enable gnu test for arch
This commit is contained in:
Sylvestre Ledru 2021-08-05 20:51:53 +02:00 committed by GitHub
commit 158a8a387b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
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