summaryrefslogtreecommitdiff
path: root/testsuite/merge.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-15 02:01:02 +0000
committerWayne Davison <wayned@samba.org>2005-02-15 02:01:02 +0000
commit2f24fb18c428105cddce35cfa504e2d21c35a460 (patch)
tree4a848add444691664ac2e34fafe52f948fe5264b /testsuite/merge.test
parent96a8ca6d985e840d34a9152775680626b44f4c07 (diff)
downloadrsync-2f24fb18c428105cddce35cfa504e2d21c35a460.tar.gz
Make sure that there are no directory-time differences between the
dirs that might trip up the check of the merged copy.
Diffstat (limited to 'testsuite/merge.test')
-rw-r--r--testsuite/merge.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/merge.test b/testsuite/merge.test
index b4b3dafa..cc7f1887 100644
--- a/testsuite/merge.test
+++ b/testsuite/merge.test
@@ -43,9 +43,10 @@ cp -p "$from2dir"/sub1/uno "$from3dir"/sub1/dos "$from2dir"/sub1/tres "$chkdir"/
cp -p "$from3dir"/sub2/subby "$chkdir"/sub2
# Get rid of any directory-time differences
-touch "$from1dir" "$from2dir" "$from3dir" \
- "$from1dir"/dir-and-not-dir "$from2dir"/sub1 "$from3dir"/sub1 "$from3dir"/sub2 \
- "$chkdir" "$chkdir"/dir-and-not-dir "$chkdir"/sub1 "$chkdir"/sub2
+$RSYNC -av --existing -f 'exclude,! */' "$from1dir/" "$from2dir/"
+$RSYNC -av --existing -f 'exclude,! */' "$from2dir/" "$from3dir/"
+$RSYNC -av --existing -f 'exclude,! */' "$from1dir/" "$chkdir/"
+$RSYNC -av --existing -f 'exclude,! */' "$from3dir/" "$chkdir/"
checkit "$RSYNC -aHvv \"$from1dir/\" \"$from2dir/\" \"$from3dir/\" \"$todir/\"" "$chkdir" "$todir"