From: Thomas Weißschuh Date: Sun, 12 Apr 2026 06:11:20 +0000 (+0200) Subject: hardlink: (tests) Ignore xattrs X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=31e5e272cf6bdbc886737914395e8bf8dd0d2300;p=thirdparty%2Futil-linux.git hardlink: (tests) Ignore xattrs If the code is built without xattr support, those won't be printed and the tests fails. Signed-off-by: Thomas Weißschuh --- diff --git a/tests/expected/hardlink/options-maximum-size-8191 b/tests/expected/hardlink/options-maximum-size-8191 index 213f01b20..e0ffa7c95 100644 --- a/tests/expected/hardlink/options-maximum-size-8191 +++ b/tests/expected/hardlink/options-maximum-size-8191 @@ -3,7 +3,6 @@ Mode: real Method: [Redacted] Files: 26 Linked: 0 files -Compared: 0 xattrs Compared: [Redacted] files Saved: 0 B Duration: [Redacted] diff --git a/tests/expected/hardlink/options-maximum-size-8192 b/tests/expected/hardlink/options-maximum-size-8192 index 9c522d756..aca63cbf6 100644 --- a/tests/expected/hardlink/options-maximum-size-8192 +++ b/tests/expected/hardlink/options-maximum-size-8192 @@ -3,7 +3,6 @@ Mode: real Method: [Redacted] Files: 26 Linked: 18 files -Compared: 0 xattrs Compared: [Redacted] files Saved: 144 KiB Duration: [Redacted] diff --git a/tests/ts/hardlink/options b/tests/ts/hardlink/options index 04abdc555..5b1c36f37 100755 --- a/tests/ts/hardlink/options +++ b/tests/ts/hardlink/options @@ -46,6 +46,7 @@ summary_clean() -e 's/^Duration:.*/Duration: [Redacted]/' \ -e 's/^Method:.*/Method: [Redacted]/' \ -e 's/^Compared:.*files/Compared: [Redacted] files/' \ + -e '/^Compared:.*xattrs/d' \ $TS_OUTPUT }