summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp')
-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