summaryrefslogtreecommitdiff
path: root/tests/mv/mv-special-1
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/mv-special-1
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/mv-special-1')
-rwxr-xr-xtests/mv/mv-special-110
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index 39df45e95..412e1e6f6 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -1,6 +1,8 @@
#! /bin/sh
. $srcdir/setup
+# Make sure we get English translations.
+. $srcdir/../lang-default
if test -z "$other_partition_tmpdir"; then
exit 77
@@ -26,14 +28,6 @@ if test $framework_failure = 1; then
exit 77
fi
-# Make sure we get English translations.
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
-LANG=C
-export LANG
-
fail=0
mv --verbose $null $dir $other_partition_tmpdir > out || fail=1
# Make sure the files are gone.