diff options
author | Wayne Davison <wayned@samba.org> | 2005-04-15 17:26:27 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2005-04-15 17:26:27 +0000 |
commit | 042dc7360efae7efc883def2792760b7460ef493 (patch) | |
tree | dd1e83d12121f1d982545e4e64606aaf337956ec /testsuite/hardlinks.test | |
parent | 7a6e294f7b59a3f8cd20ede0fd8bcbe0f7730c93 (diff) | |
download | android_external_rsync-042dc7360efae7efc883def2792760b7460ef493.tar.gz android_external_rsync-042dc7360efae7efc883def2792760b7460ef493.tar.bz2 android_external_rsync-042dc7360efae7efc883def2792760b7460ef493.zip |
Make sure that the $chkdir has the same mtime/etc. as the
$fromdir.
Diffstat (limited to 'testsuite/hardlinks.test')
-rw-r--r-- | testsuite/hardlinks.test | 1 |
1 files changed, 1 insertions, 0 deletions
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. |