summaryrefslogtreecommitdiff
path: root/tests/cp/same-file
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-04 16:00:50 +0000
committerJim Meyering <jim@meyering.net>1999-04-04 16:00:50 +0000
commit62528b9cf861b8afe3afb23b5f2058080941e0b1 (patch)
tree5d0602696b7800207f8d9985b97e3d3c5323fb87 /tests/cp/same-file
parent50c573d45768dd743f05b0a8b39d925f07e13364 (diff)
downloadcoreutils-62528b9cf861b8afe3afb23b5f2058080941e0b1.tar.xz
Change the sed command used to extract the
filename from ls -l output, to accommodate the change in format.
Diffstat (limited to 'tests/cp/same-file')
-rwxr-xr-xtests/cp/same-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 305507b08..37a174cab 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -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.