From: Wayne Davison Date: Fri, 15 Apr 2005 17:26:27 +0000 (+0000) Subject: Make sure that the $chkdir has the same mtime/etc. as the X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/042dc7360efae7efc883def2792760b7460ef493 Make sure that the $chkdir has the same mtime/etc. as the $fromdir. --- diff --git a/testsuite/hardlinks.test b/testsuite/hardlinks.test index f4db3a0d..39e0a170 100644 --- a/testsuite/hardlinks.test +++ b/testsuite/hardlinks.test @@ -38,6 +38,7 @@ rm -rf "$todir" # enabled (this has had a problem twice now, so we need this). mkdir "$chkdir" cp -p "$name1" "$chkdir" +rsync -avvi -f '-! */' "$fromdir/" "$chkdir/" checkit "$RSYNC -aHivv \"$name1\" \"$todir/\"" "$chkdir" "$todir" # The script would have aborted on error, so getting here means we've won.