summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-07-24 07:46:16 -0700
committerWayne Davison <wayned@samba.org>2008-07-24 07:57:57 -0700
commitf8722dba569df64060e823fab854f31b1a302d99 (patch)
tree8ba24f2fad71e5765bd93387f88baf043acf7017 /testsuite
parentee03cb99d93f10d17873dd8edf28228d5c0b3dd8 (diff)
downloadrsync-f8722dba569df64060e823fab854f31b1a302d99.tar.gz
rsync-f8722dba569df64060e823fab854f31b1a302d99.tar.bz2
rsync-f8722dba569df64060e823fab854f31b1a302d99.zip
Fixed the --fake-super test in the xattrs testsuite when there are
root-level xattrs on the files (e.g. selinux values).
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/xattrs.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test
index 86758fac..e6d8d5c2 100644
--- a/testsuite/xattrs.test
+++ b/testsuite/xattrs.test
@@ -99,8 +99,12 @@ rm -rf "$todir"
xset user.nice 'this is nice, but different' file1
+checkit "$RSYNC -aiX --fake-super . ../chk" "$fromdir" "$chkdir"
+
+cd "$chkdir"
xls $files >"$scratchdir/xattrs.txt"
+cd "$fromdir"
checkit "$RSYNC -aiX --fake-super --link-dest=../chk . ../to" "$chkdir" "$todir"
cd "$todir"