rsync/rsync-3.0.4pre2-xattrs-test-fix.patch

28 lines
669 B
Diff

# Use 'just built' rsync instead of systemwide rsync
--- testsuite/xattrs.test.orig 2008-09-03 16:01:35.000000000 +0200
+++ testsuite/xattrs.test 2008-09-03 16:09:52.000000000 +0200
@@ -120,10 +120,10 @@
cd "$fromdir"
rm -rf "$todir" "$chkdir"
-rsync -aX file1 file2
-rsync -aX file1 file2 ../chk/
-rsync -aX --del ../chk/ .
-rsync -aX file1 ../lnk/
+$RSYNC -aX file1 file2
+$RSYNC -aX file1 file2 ../chk/
+$RSYNC -aX --del ../chk/ .
+$RSYNC -aX file1 ../lnk/
xls file1 file2 >"$scratchdir/xattrs.txt"
@@ -136,7 +136,7 @@
rm "$todir/file2"
echo extra >file1
-rsync -aX . ../chk/
+$RSYNC -aX . ../chk/
checkit "$RSYNC -aiiX . ../to" "$chkdir" "$todir"