Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid adding a slash to path '/'.
[rsync/rsync.git]
/
testsuite
/
devices.test
diff --git
a/testsuite/devices.test
b/testsuite/devices.test
index
d9db846
..
bb3ab93
100644
(file)
--- a/
testsuite/devices.test
+++ b/
testsuite/devices.test
@@
-116,7
+116,7
@@
cD$all_plus char2
cD$all_plus char3
cS$all_plus fifo
EOT
cD$all_plus char3
cS$all_plus fifo
EOT
-if test ! -
b
"$fromdir/block3.5"; then
+if test ! -
r
"$fromdir/block3.5"; then
grep -v block3.5 <"$chkfile" >"$chkfile.new"
mv "$chkfile.new" "$chkfile"
fi
grep -v block3.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"
( cd "$todir" && rsync_ls_lR . ) > "$tmpdir/ls-to"
diff $diffopt "$tmpdir/ls-from" "$tmpdir/ls-to"
-if test -
b
"$fromdir/block3.5"; then
+if test -
r
"$fromdir/block3.5"; then
set -x
$RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \
| tee "$outfile"
set -x
$RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \
| tee "$outfile"