summaryrefslogtreecommitdiff
path: root/tests/cp/cp-mv-backup
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-10 19:47:56 +0000
committerJim Meyering <jim@meyering.net>2000-09-10 19:47:56 +0000
commit9eb2ccc11351c1ba644fa7c0a03b2c95d5e5882b (patch)
tree8338d78fa163db5d8455756e7f02be086b2acd65 /tests/cp/cp-mv-backup
parent92ae1c7d2a25d85e9298301bb35307c98c919214 (diff)
downloadcoreutils-9eb2ccc11351c1ba644fa7c0a03b2c95d5e5882b.tar.xz
(LC_ALL): Set to `C' and export to ensure
that `ls' sorts the same way for everyone. Reported by Vin Shelton.
Diffstat (limited to 'tests/cp/cp-mv-backup')
-rwxr-xr-xtests/cp/cp-mv-backup3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cp/cp-mv-backup b/tests/cp/cp-mv-backup
index 084dd1e54..fbed6f009 100755
--- a/tests/cp/cp-mv-backup
+++ b/tests/cp/cp-mv-backup
@@ -9,6 +9,9 @@ fi
LANGUAGE=C; export LANGUAGE
LANG=C; export LANG
+# Ensure that ls sorts the same way for everyone.
+LC_ALL=C; export LC_ALL
+
. $srcdir/../envvar-check
umask 022