aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/hardlinks.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-04-15 17:26:27 +0000
committerWayne Davison <wayned@samba.org>2005-04-15 17:26:27 +0000
commit042dc7360efae7efc883def2792760b7460ef493 (patch)
treedd1e83d12121f1d982545e4e64606aaf337956ec /testsuite/hardlinks.test
parent7a6e294f7b59a3f8cd20ede0fd8bcbe0f7730c93 (diff)
downloadandroid_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.test1
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.