summaryrefslogtreecommitdiff
path: root/tests/cp/backup-is-src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/backup-is-src')
-rwxr-xr-xtests/cp/backup-is-src7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src
index e753e4a59..07741ddcf 100755
--- a/tests/cp/backup-is-src
+++ b/tests/cp/backup-is-src
@@ -16,12 +16,7 @@ if test $framework_failure = 1; then
fi
# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
+. $srcdir/../lang-default
# This cp command should exit nonzero.
cp --b=simple a~ a > out 2>&1 && fail=1