summaryrefslogtreecommitdiff
path: root/tests/mv/into-self-3
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-22 13:09:28 +0000
committerJim Meyering <jim@meyering.net>2000-10-22 13:09:28 +0000
commit28c6609c86191b9c913cd124437cad1dac4fd5e7 (patch)
tree177035185a56b06161fde8c456055f1e9c828d09 /tests/mv/into-self-3
parent43c38af6a1bf3e3ae527b1cb70988e87bb995063 (diff)
downloadcoreutils-28c6609c86191b9c913cd124437cad1dac4fd5e7.tar.xz
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.
Diffstat (limited to 'tests/mv/into-self-3')
-rwxr-xr-xtests/mv/into-self-37
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/mv/into-self-3 b/tests/mv/into-self-3
index 94de9c8d3..8641468ef 100755
--- a/tests/mv/into-self-3
+++ b/tests/mv/into-self-3
@@ -19,12 +19,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 mv command should exit nonzero.
mv $dir1 $dir2 $dir2 > out 2>&1 && fail=1