aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-05-12 10:39:30 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-05-12 10:39:30 +0300
commiteb969c918beec94d835368aa9f938ddac3c20ebf (patch)
tree07bfa1d7fc2fc941f7a4be53b5d73cc9fc3d048e /test
parente8e2a77ac68e084827fe0967ec6eb64b8556a8c9 (diff)
parent06cbdb5103c1bd5565fd61b2c854a86cd3c3fd85 (diff)
downloadegawk-eb969c918beec94d835368aa9f938ddac3c20ebf.tar.gz
egawk-eb969c918beec94d835368aa9f938ddac3c20ebf.tar.bz2
egawk-eb969c918beec94d835368aa9f938ddac3c20ebf.zip
Merge branch 'master' into feature/docit
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog5
-rwxr-xr-xtest/localenl.sh4
2 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 302cfc70..3f2d40e5 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * localenl.sh: Fix for Bash 5.1. Thanks to
+ Marius Bakke <marius@gnu.org> for the report and fix.
+
2021-05-10 Arnold D. Robbins <arnold@skeeve.com>
* 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 <<EOF |
line1
line2