Change the sed command used to extract the
authorJim Meyering <jim@meyering.net>
Sun, 4 Apr 1999 16:00:50 +0000 (16:00 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 4 Apr 1999 16:00:50 +0000 (16:00 +0000)
filename from ls -l output, to accommodate the change in format.

tests/cp/same-file

index 305507b..37a174c 100755 (executable)
@@ -57,7 +57,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
        ls="`ls -lG --ignore=.err . \
            | sed \
                -e '/^total /d' \
-               -e 's/^..............................................//'`"
+               -e 's/^...............................................//'`"
        echo "($ls)"
        # Make sure the original is unchanged and that
        # the destination is a copy.