mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-05-31 23:06:33 +02:00
*** empty log message ***
This commit is contained in:
+6
-3
@@ -44,8 +44,12 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
|
||||
# and put brackets around the output.
|
||||
test -s .err && echo "[`sed 's/^[^:][^:]*:/cp:/' .err`]"
|
||||
# Strip off all but the file names.
|
||||
ls="`ls -lG * \
|
||||
| sed 's/^..............................................//'`"
|
||||
exclude=`echo " .err"|sed 's/ / --ignore=/g'`
|
||||
ls="`ls -lG $exclude . \
|
||||
| sed \
|
||||
-e '/^total /d' \
|
||||
-e 's/^..............................................//' \
|
||||
`"
|
||||
echo "($ls)"
|
||||
# Make sure the original is unchanged and that
|
||||
# the destination is a copy.
|
||||
@@ -156,4 +160,3 @@ cat <<\EOF > $expected
|
||||
EOF
|
||||
|
||||
cmp $expected $actual || diff -u $expected $actual 1>&2
|
||||
cat $actual 1>&2
|
||||
|
||||
Reference in New Issue
Block a user