From da5841b37f85873a627e169d4ee93916f0372ba2 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 12 May 2021 10:36:35 +0300 Subject: Fix test/localenl.sh for Bash 5.1. --- test/ChangeLog | 5 +++++ test/localenl.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ChangeLog b/test/ChangeLog index b179fa94..f6aaf22c 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2021-05-12 Arnold D. Robbins + + * localenl.sh: Fix for Bash 5.1. Thanks to + Marius Bakke for the report and fix. + 2021-05-10 Arnold D. Robbins * argcasfile.ok: Add the leading space in the argument; see diff --git a/test/localenl.sh b/test/localenl.sh index ca3ee64e..d5d721ed 100755 --- a/test/localenl.sh +++ b/test/localenl.sh @@ -36,9 +36,9 @@ AWK=${AWK:-../gawk} # April 2010: Remove UNKNOWN, causes spurious failures on some systems -for LC_ALL in C POSIX en_US.ISO-8859-1 en_US.UTF-8 #UNKNOWN +for LC in C POSIX en_US.ISO-8859-1 en_US.UTF-8 #UNKNOWN do -export LC_ALL +export LC_ALL=$LC 2>/dev/null cat <