Commit c82711b3 authored by Wayne Davison's avatar Wayne Davison

Fix issue with devices-fake test.

parent b2e446d0
...@@ -116,7 +116,7 @@ cD$all_plus char2 ...@@ -116,7 +116,7 @@ cD$all_plus char2
cD$all_plus char3 cD$all_plus char3
cS$all_plus fifo cS$all_plus fifo
EOT EOT
if test ! -b "$fromdir/block3.5"; then if test ! -r "$fromdir/block3.5"; then
grep -v block3.5 <"$chkfile" >"$chkfile.new" grep -v block3.5 <"$chkfile" >"$chkfile.new"
mv "$chkfile.new" "$chkfile" mv "$chkfile.new" "$chkfile"
fi fi
...@@ -128,7 +128,7 @@ echo "" ...@@ -128,7 +128,7 @@ echo ""
( cd "$todir" && rsync_ls_lR . ) > "$tmpdir/ls-to" ( cd "$todir" && rsync_ls_lR . ) > "$tmpdir/ls-to"
diff $diffopt "$tmpdir/ls-from" "$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 set -x
$RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \ $RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \
| tee "$outfile" | tee "$outfile"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment