From 28c6609c86191b9c913cd124437cad1dac4fd5e7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Oct 2000 13:09:28 +0000 Subject: Source lang-default rather than open-coding the setting/exporting of LANG, LC_ALL, and LANGUAGE. --- tests/cp/symlink-slash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/cp/symlink-slash') 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 -- cgit v1.2.3-54-g00ecf