]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hardlink: (tests) Ignore xattrs
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 12 Apr 2026 06:11:20 +0000 (08:11 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 28 Apr 2026 08:32:06 +0000 (10:32 +0200)
If the code is built without xattr support, those won't be printed
and the tests fails.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/expected/hardlink/options-maximum-size-8191
tests/expected/hardlink/options-maximum-size-8192
tests/ts/hardlink/options

index 213f01b206687077d2a02a6950663f05938ea836..e0ffa7c9546068abed2c6ab573bee3c138193381 100644 (file)
@@ -3,7 +3,6 @@ Mode:                     real
 Method: [Redacted]
 Files:                    26
 Linked:                   0 files
-Compared:                 0 xattrs
 Compared: [Redacted] files
 Saved:                    0 B
 Duration: [Redacted]
index 9c522d756dc87dd5357ed4e0374e55234a6c10b4..aca63cbf61318d4d40adc47c4eadf13992801de3 100644 (file)
@@ -3,7 +3,6 @@ Mode:                     real
 Method: [Redacted]
 Files:                    26
 Linked:                   18 files
-Compared:                 0 xattrs
 Compared: [Redacted] files
 Saved:                    144 KiB
 Duration: [Redacted]
index 04abdc555a3b40bc97aa33aeb3863fc680acc455..5b1c36f37fac69dea177b5b2d4b02167bac2fbca 100755 (executable)
@@ -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
 }