+touch -r "$fromdir/block" "$fromdir/block2"
+
+$RSYNC -ai "$fromdir/block" "$todir/block2" \
+ | tee "$outfile"
+cat <<EOT >"$chkfile"
+cD++++++ block
+EOT
+diff $diffopt "$chkfile" "$outfile" || test_fail "test 1 failed"
+
+$RSYNC -ai "$fromdir/block2" "$todir/block" \
+ | tee "$outfile"
+cat <<EOT >"$chkfile"
+cD++++++ block2
+EOT
+diff $diffopt "$chkfile" "$outfile" || test_fail "test 2 failed"
+
+sleep 1
+
+$RSYNC -Di "$fromdir/block3" "$todir/block" \
+ | tee "$outfile"
+cat <<EOT >"$chkfile"
+cD..T... block3
+EOT
+diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed"