mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-16 10:55:20 -04:00
Fix issue with devices-fake test.
This commit is contained in:
@@ -116,7 +116,7 @@ cD$all_plus char2
|
||||
cD$all_plus char3
|
||||
cS$all_plus fifo
|
||||
EOT
|
||||
if test ! -b "$fromdir/block2.5"; then
|
||||
if test ! -r "$fromdir/block2.5"; then
|
||||
grep -v block2.5 <"$chkfile" >"$chkfile.new"
|
||||
mv "$chkfile.new" "$chkfile"
|
||||
fi
|
||||
@@ -128,7 +128,7 @@ echo ""
|
||||
( cd "$todir" && rsync_ls_lR . ) > "$tmpdir/ls-to"
|
||||
diff $diffopt "$tmpdir/ls-from" "$tmpdir/ls-to"
|
||||
|
||||
if test -b "$fromdir/block2.5"; then
|
||||
if test -r "$fromdir/block2.5"; then
|
||||
set -x
|
||||
$RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \
|
||||
| tee "$outfile"
|
||||
|
||||
Reference in New Issue
Block a user