diff options
author | Wayne Davison <wayned@samba.org> | 2019-01-04 21:43:50 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2019-01-04 21:43:50 -0800 |
commit | c90b87e021709be78853354bd7776acfdd1c95d9 (patch) | |
tree | 21d85d777aebe659584fe71ee54a1659855a2c0f /testsuite | |
parent | ad17b2188958dabe2f957cde1357ae70f75d3bbd (diff) | |
download | rsync-c90b87e021709be78853354bd7776acfdd1c95d9.tar.gz |
Avoid a failed test if dirs report 1 hlink (e.g. WSL weirdness).
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/xattrs.test | 2 |
1 files changed, 1 insertions, 1 deletions
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:" |