summaryrefslogtreecommitdiff
path: root/testsuite/backup.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-06-17 15:59:47 -0700
committerWayne Davison <wayned@samba.org>2008-06-17 15:59:47 -0700
commit844810d6099d5c7fc837ea1bad4470cfdd801c66 (patch)
tree05faff45b552f5a93425db6f480bdce9b405b750 /testsuite/backup.test
parent67347196b13941fdf455517855481875ccf21152 (diff)
downloadrsync-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.test2
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" \