diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-11 07:59:16 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-11 07:59:16 +0000 |
commit | 13d0cd669e1f1ecc19d4087fed2ec5dea23d94a2 (patch) | |
tree | 3623216e1c3d3fd997af2c01ae8372982394e2de | |
parent | ff276995ff38a9615a1f53249e1acf624e18d910 (diff) | |
download | coreutils-13d0cd669e1f1ecc19d4087fed2ec5dea23d94a2.tar.xz |
* 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>.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | tests/cp/same-file | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-06-11 Paul Eggert <eggert@cs.ucla.edu> + + * 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>. + 2006-06-10 Jim Meyering <jim@meyering.net> * NEWS: Mention the AIX-strndup-bug vs. dircolors workaround. diff --git a/tests/cp/same-file b/tests/cp/same-file index 47db0cd15..2cba869b3 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -74,7 +74,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="`ls -gG --ignore=_err . \ + ls="`LC_ALL=C ls -gG --ignore=_err . \ | sed \ -e '/^total /d' \ -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`" |