aboutsummaryrefslogtreecommitdiffstats
path: root/test/localenl.sh
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-05-12 10:38:59 +0300
committerArnold D. Robbins <arnold@skeeve.com>2021-05-12 10:38:59 +0300
commitabe6c92b13c72c8e214ce2e4eb6371e2d7948b83 (patch)
treebfc4de3fa1ddc01d4e4bb6e3574d1848c5206c03 /test/localenl.sh
parentffef5abf2023140a106fd894565dae1abad77a15 (diff)
parent06cbdb5103c1bd5565fd61b2c854a86cd3c3fd85 (diff)
downloadegawk-abe6c92b13c72c8e214ce2e4eb6371e2d7948b83.tar.gz
egawk-abe6c92b13c72c8e214ce2e4eb6371e2d7948b83.tar.bz2
egawk-abe6c92b13c72c8e214ce2e4eb6371e2d7948b83.zip
Merge branch 'master' into feature/bool
Diffstat (limited to 'test/localenl.sh')
-rwxr-xr-xtest/localenl.sh4
1 files changed, 2 insertions, 2 deletions
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