From: Jim Meyering Date: Sat, 15 Jun 2002 08:02:16 +0000 (+0000) Subject: Change temp. file name: s/\.err/_err/, for DOS. X-Git-Tag: FILEUTILS-4_1_9~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff43f6b441deb426ffafdee0e9a7fe666ff1c29e;p=thirdparty%2Fcoreutils.git Change temp. file name: s/\.err/_err/, for DOS. --- diff --git a/tests/cp/same-file b/tests/cp/same-file index e9fbb307d8..a190e22c57 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/^...............................................//'`"