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 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
fi
. $srcdir/../lang-default
+. $srcdir/../envvar-check
# Unset CDPATH. Otherwise, output from the `cd dir' command
# can make this test fail.
# 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/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`"
DU_BLOCK_SIZE
LS_BLOCK_SIZE
SIMPLE_BACKUP_SUFFIX
+ TIME_STYLE
VERSION_CONTROL
'
for var in $vars