From ccad6b9cca302dc86d0a39f5a19ba8f5ed0bd19e Mon Sep 17 00:00:00 2001 From: Paper Date: Mon, 17 May 2021 21:15:23 +0200 Subject: [PATCH] gawk: fix tests --- srcpkgs/gawk/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template index 0a79c2ca2c5e..b922097b01f7 100644 --- a/srcpkgs/gawk/template +++ b/srcpkgs/gawk/template @@ -21,6 +21,11 @@ alternatives=" pre_check() { vsed -i 's/done | more/done/g' test/Makefile + # This fixes tests on glibc, relevant tests on musl are disabled + # because the locale command doesn't exist. + vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh + vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok + case "$XBPS_TARGET_MACHINE" in *-musl) vsed -i '/testext/d' test/Makefile