diff options
author | Wayne Davison <wayned@samba.org> | 2008-06-17 15:59:47 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-06-17 15:59:47 -0700 |
commit | 844810d6099d5c7fc837ea1bad4470cfdd801c66 (patch) | |
tree | 05faff45b552f5a93425db6f480bdce9b405b750 /testsuite/backup.test | |
parent | 67347196b13941fdf455517855481875ccf21152 (diff) | |
download | rsync-844810d6099d5c7fc837ea1bad4470cfdd801c66.tar.gz |
Avoid problems with timestamp rounding that cp -p and touch -r may do.
Diffstat (limited to 'testsuite/backup.test')
-rw-r--r-- | testsuite/backup.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/backup.test b/testsuite/backup.test index dc53368c..4227b868 100644 --- a/testsuite/backup.test +++ b/testsuite/backup.test @@ -36,7 +36,7 @@ for fn in deep/name1 deep/name2; do done echo deleted-file >"$todir/dname" -cp -p "$todir/dname" "$chkdir" +cp_touch "$todir/dname" "$chkdir" checkit "$RSYNC -avv --no-whole-file --delete-delay \ --backup --backup-dir='$bakdir' '$fromdir/' '$todir/'" "$fromdir" "$todir" \ |