summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-02-22 07:59:08 -0800
committerWayne Davison <wayned@samba.org>2011-02-22 08:25:11 -0800
commitc82711b34e7d24f4d386c61b9e45ac2163a58936 (patch)
tree6d1c804e4385c5e71813ae4e283661143e69372d /testsuite
parentb2e446d0cb2958b65d4014fa093cf1e3100dad2a (diff)
downloadrsync-c82711b34e7d24f4d386c61b9e45ac2163a58936.tar.gz
Fix issue with devices-fake test.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/devices.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/devices.test b/testsuite/devices.test
index d9db846e..bb3ab93d 100644
--- 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
-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
@@ -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/block3.5"; then
+if test -r "$fromdir/block3.5"; then
set -x
$RSYNC -aii --link-dest="$todir" "$fromdir/" "$chkdir/" \
| tee "$outfile"