X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a9a8bc962cc228e4516f8807c71dec799c68474e..9793bbb3646cbaa816d074dc925a4f4f7d40089f:/testsuite/merge.test diff --git a/testsuite/merge.test b/testsuite/merge.test index cd10a2aa..1720a181 100644 --- a/testsuite/merge.test +++ b/testsuite/merge.test @@ -42,13 +42,16 @@ cp -p from1/dir-and-not-dir/inside chk/dir-and-not-dir cp -p from2/sub1/uno from3/sub1/dos from2/sub1/tres chk/sub1 cp -p from3/sub2/subby chk/sub2 +# Make sure that time has moved on. +sleep 1 + # Get rid of any directory-time differences $RSYNC -av --existing -f 'exclude,! */' from1/ from2/ $RSYNC -av --existing -f 'exclude,! */' from2/ from3/ $RSYNC -av --existing -f 'exclude,! */' from1/ chk/ $RSYNC -av --existing -f 'exclude,! */' from3/ chk/ -checkit "$RSYNC -avv deep/arg-test shallow from1/ from2/ from3/ to/" chk to +checkit "$RSYNC -avv deep/arg-test shallow from1/ from2/ from3/ to/" "$chkdir" "$todir" # The script would have aborted on error, so getting here means we've won. exit 0