summaryrefslogtreecommitdiff
path: root/testsuite/xattrs.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/xattrs.test
parent67347196b13941fdf455517855481875ccf21152 (diff)
downloadrsync-844810d6099d5c7fc837ea1bad4470cfdd801c66.tar.gz
Avoid problems with timestamp rounding that cp -p and touch -r may do.
Diffstat (limited to 'testsuite/xattrs.test')
-rw-r--r--testsuite/xattrs.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test
index 8a311c4a..86758fac 100644
--- a/testsuite/xattrs.test
+++ b/testsuite/xattrs.test
@@ -46,7 +46,7 @@ echo deeper >"$fromdir/foo/bar/file5"
makepath "$chkdir/foo"
echo wow >"$chkdir/file1"
-cp -p "$fromdir/foo/file3" "$chkdir/foo"
+cp_touch "$fromdir/foo/file3" "$chkdir/foo"
files='foo file0 file1 file2 foo/file3 file4 foo/bar/file5'