]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Change temp. file name: s/\.err/_err/, for DOS.
authorJim Meyering <jim@meyering.net>
Sat, 15 Jun 2002 08:02:16 +0000 (08:02 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Jun 2002 08:02:16 +0000 (08:02 +0000)
tests/cp/same-file

index e9fbb307d8aa50936cc31329c9b602ab96dcf177..a190e22c57c96791f68155043b74e5e3dda349aa 100755 (executable)
@@ -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/^...............................................//'`"