bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FAIL: same-file


From: Paul Eggert
Subject: Re: FAIL: same-file
Date: Sun, 11 Jun 2006 00:47:59 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Thanks for reporting it.  Can you please try the following patch?
I haven't installed it, but plan to if you say it works.

2006-06-11  Paul Eggert  <address@hidden>

        * tests/cp/same-file: Execute 'ls' in the C locale, so
        that it uses POSIX time stamp formats.  Problem reported
        by John Nixon in
        <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html>.

--- tests/cp/same-file.~1.39.~  2004-06-23 08:07:04.000000000 -0700
+++ tests/cp/same-file  2006-06-11 00:45:05.000000000 -0700
@@ -74,7 +74,7 @@ for args in 'foo symlink' 'symlink foo' 
        # and put brackets around the output.
        test -s _err && echo "[`sed 's/^[^:][^:]*:/cp:/' _err`]"
        # Strip off all but the file names.
-       ls="`ls -gG --ignore=_err . \
+       ls="`LC_ALL=C ls -gG --ignore=_err . \
            | sed \
                -e '/^total /d' \
                -e 's/^[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *[^ ]*  *//'`"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]