[arch-commits] Commit in rsync/trunk (1 file)
Christian Hesse
eworm at archlinux.org
Wed Jan 15 20:05:26 UTC 2020
Date: Wednesday, January 15, 2020 @ 20:05:26
Author: eworm
Revision: 373528
actually add the patch...
Added:
rsync/trunk/0001-avoid-a-failed-test-if-dirs-report-1-hlink.patch
-------------------------------------------------------+
0001-avoid-a-failed-test-if-dirs-report-1-hlink.patch | 19 ++++++++++++++++
1 file changed, 19 insertions(+)
Added: 0001-avoid-a-failed-test-if-dirs-report-1-hlink.patch
===================================================================
--- 0001-avoid-a-failed-test-if-dirs-report-1-hlink.patch (rev 0)
+++ 0001-avoid-a-failed-test-if-dirs-report-1-hlink.patch 2020-01-15 20:05:26 UTC (rev 373528)
@@ -0,0 +1,19 @@
+commit c90b87e021709be78853354bd7776acfdd1c95d9
+Author: Wayne Davison <wayned at samba.org>
+Date: Fri Jan 4 21:43:50 2019 -0800
+
+ Avoid a failed test if dirs report 1 hlink (e.g. WSL weirdness).
+
+diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test
+index f7d9a6df..86165e0c 100644
+--- a/testsuite/xattrs.test
++++ b/testsuite/xattrs.test
+@@ -163,7 +163,7 @@ checkit "$RSYNC -aiX $XFILT $dashH --fake-super --link-dest=../chk . ../to" "$ch
+ cd "$todir"
+ xls $dirs $files | diff $diffopt "$scratchdir/xattrs.txt" -
+
+-sed -n -e '/^[^ ][^ ]* *[^ ][^ ]* *[^ ][^ ]* *1 /p' "$scratchdir/ls-to" >"$scratchdir/ls-diff-all"
++sed -n -e '/^[^d ][^ ]* *[^ ][^ ]* *[^ ][^ ]* *1 /p' "$scratchdir/ls-to" >"$scratchdir/ls-diff-all"
+ fgrep -v './file1' "$scratchdir/ls-diff-all" >"$scratchdir/ls-diff" || :
+ if [ -s "$scratchdir/ls-diff" ]; then
+ echo "Missing hard links on:"
More information about the arch-commits
mailing list