3 # Test rsync --delay-updates
5 .
"$suitedir/rsync.fns"
9 echo 1 > "$fromdir/foo"
11 checkit
"$RSYNC -aiv --delay-updates \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
14 echo 2 > "$todir/.~tmp~/foo"
15 touch -r ..
"$todir/.~tmp~/foo" "$todir/foo"
16 echo 3 > "$fromdir/foo"
18 checkit
"$RSYNC -aiv --delay-updates \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
20 # The script would have aborted on error, so getting here means we've won.