summaryrefslogtreecommitdiff
path: root/tests/rm
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/rm
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/rm')
-rwxr-xr-xtests/rm/r-25
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/rm/r-2 b/tests/rm/r-2
index a85c61f30..044dd2279 100755
--- a/tests/rm/r-2
+++ b/tests/rm/r-2
@@ -18,10 +18,7 @@ mkdir t t/a t/a/b || framework_failure=1
> t/a/f || framework_failure=1
> t/a/b/g || framework_failure=1
-LANGUAGE=C
-export LANGUAGE
-LC_ALL=C
-export LC_ALL
+. $srcdir/../lang-default
# FIXME: if this fails, it's a framework failure
cat <<EOF | sort > t/E || framework_failure=1