]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Setting TIME_STYLE=long-iso in the environment would make the
authorJim Meyering <jim@meyering.net>
Sun, 11 Jun 2006 08:12:37 +0000 (08:12 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 11 Jun 2006 08:12:37 +0000 (08:12 +0000)
cp/same-file test fail.
* tests/envvar-check (vars): Add TIME_STYLE to the list.
* tests/cp/same-file: Revert last change.
Source the envvar-check script, to ensure that TIME_STYLE
settings don't affect these tests.

ChangeLog
tests/cp/same-file
tests/envvar-check

index 935daff981f92745c477c1fa55fa14a1992c1ee9..e2debfb73aa4d15fce831b913f20ed0fb84cba97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-06-11  Jim Meyering  <jim@meyering.net>
+
+       Setting TIME_STYLE=long-iso in the environment would make the
+       cp/same-file test fail.
+       * tests/envvar-check (vars): Add TIME_STYLE to the list.
+       * tests/cp/same-file: Revert last change.
+       Source the envvar-check script, to ensure that TIME_STYLE
+       settings don't affect these tests.
+
 2006-06-11  Paul Eggert  <eggert@cs.ucla.edu>
 
        * tests/cp/same-file: Execute 'ls' in the C locale, so that it
index 2cba869b315e5dc8b0a46556f2f2ac849d580ff6..a08c4e3f34feb0a7e1b3f50dcdd99c60f3a331b0 100755 (executable)
@@ -8,6 +8,7 @@ if test "$VERBOSE" = yes; then
 fi
 
 . $srcdir/../lang-default
+. $srcdir/../envvar-check
 
 # Unset CDPATH.  Otherwise, output from the `cd dir' command
 # can make this test fail.
@@ -74,7 +75,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
        # and put brackets around the output.
        test -s _err && echo "[`sed 's/^[^:][^:]*:/cp:/' _err`]"
        # Strip off all but the file names.
-       ls="`LC_ALL=C ls -gG --ignore=_err . \
+       ls="`ls -gG --ignore=_err . \
            | sed \
                -e '/^total /d' \
                -e 's/^[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *//'`"
index 406a0692f565408105645f6403dd8abd1ecdea08..9bc44e24802af96c23b0ff5ba666b7eed43e7e2f 100644 (file)
@@ -13,6 +13,7 @@ vars='
   DU_BLOCK_SIZE
   LS_BLOCK_SIZE
   SIMPLE_BACKUP_SUFFIX
+  TIME_STYLE
   VERSION_CONTROL
 '
 for var in $vars