summaryrefslogtreecommitdiff
path: root/tests/cp/symlink-slash
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/cp/symlink-slash
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/cp/symlink-slash')
-rwxr-xr-xtests/cp/symlink-slash4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cp/symlink-slash b/tests/cp/symlink-slash
index 9370a2b4c..7fb0c0717 100755
--- a/tests/cp/symlink-slash
+++ b/tests/cp/symlink-slash
@@ -7,6 +7,8 @@ if test "$VERBOSE" = yes; then
cp --version
fi
+. $srcdir/../lang-default
+
tmp=t-cpsymsl.$$
framework_failure=0
@@ -23,7 +25,7 @@ fi
fail=0
cp -dR symlink/ s || fail=1
-set `LANGUAGE=C LC_ALL=C ls -l s`
+set `ls -l s`
# Prior to fileutils-4.0q, the following would have output ...`s -> dir'
# because the trailing slash was removed unconditionally (now you have to