summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-15 08:02:16 +0000
committerJim Meyering <jim@meyering.net>2002-06-15 08:02:16 +0000
commitff43f6b441deb426ffafdee0e9a7fe666ff1c29e (patch)
tree38216018f3880c99bc8ce020fd4111b9fa01cc83
parent1d51d96e1ead39a510b4e7b918742fc0d1542b86 (diff)
downloadcoreutils-ff43f6b441deb426ffafdee0e9a7fe666ff1c29e.tar.xz
Change temp. file name: s/\.err/_err/, for DOS.
-rwxr-xr-xtests/cp/same-file6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index e9fbb307d..a190e22c5 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -63,14 +63,14 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
(
(
# echo 1>&2 cp $options $args
- cp $options $args 2>.err
+ cp $options $args 2>_err
echo $? $options
# Normalize the program name in the error output,
# and put brackets around the output.
- test -s .err && echo "[`sed 's/^[^:][^:]*:/cp:/' .err`]"
+ test -s _err && echo "[`sed 's/^[^:][^:]*:/cp:/' _err`]"
# Strip off all but the file names.
- ls="`ls -lG --ignore=.err . \
+ ls="`ls -lG --ignore=_err . \
| sed \
-e '/^total /d' \
-e 's/^...............................................//'`"