diff options
author | Wayne Davison <wayned@samba.org> | 2015-07-12 14:00:45 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2015-07-12 14:00:45 -0700 |
commit | e203245d7697de875b306b5ea8e7a82ce9d9af78 (patch) | |
tree | 9d861063071bff3fb68453ea777844be3393e365 | |
parent | dfbcc4f7ec2aed14e87ef2ac5a4f12d2a96ffe56 (diff) | |
download | android_external_rsync-e203245d7697de875b306b5ea8e7a82ce9d9af78.tar.gz android_external_rsync-e203245d7697de875b306b5ea8e7a82ce9d9af78.tar.bz2 android_external_rsync-e203245d7697de875b306b5ea8e7a82ce9d9af78.zip |
Make sure chk subdir can't diverge in time from its src subdir.
-rw-r--r-- | testsuite/relative.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/relative.test b/testsuite/relative.test index 4d578ed1..686399e4 100644 --- a/testsuite/relative.test +++ b/testsuite/relative.test @@ -33,6 +33,8 @@ runtest "basic relative" 'checkit "$RSYNC -avR ./$deepstr \"$todir\"" "$chkdir" ln $deepstr/filelist $deepstr/dir ln ../chk/$deepstr/filelist ../chk/$deepstr/dir +# Work around time rounding/truncating issue by touching both dirs. +touch -r $deepstr/dir $deepstr/dir ../chk/$deepstr/dir runtest "hard links" 'checkit "$RSYNC -avHR ./$deepstr/ \"$todir\"" "$chkdir" "$todir"' cp "$deepdir/text" "$todir/$deepstr/ThisShouldGo" |