]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hardlink: (tests) do not assert amount of compared files
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 28 Feb 2023 18:24:16 +0000 (18:24 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 28 Feb 2023 18:26:56 +0000 (18:26 +0000)
Depending on external circumstances the exact amount of compared files
can vary.
So don't test for this statistics as otherwise spurious test failures
will occurr.

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 d57c92ae94162301c23abe8cb5324431125f2819..213f01b206687077d2a02a6950663f05938ea836 100644 (file)
@@ -4,7 +4,7 @@ Method: [Redacted]
 Files:                    26
 Linked:                   0 files
 Compared:                 0 xattrs
-Compared:                 0 files
+Compared: [Redacted] files
 Saved:                    0 B
 Duration: [Redacted]
 dir-1/sdir-1/file-a-1  1       8192    1540236330      644
index c571adf52d406ea542922d90389c1ec008d9118a..9c522d756dc87dd5357ed4e0374e55234a6c10b4 100644 (file)
@@ -4,7 +4,7 @@ Method: [Redacted]
 Files:                    26
 Linked:                   18 files
 Compared:                 0 xattrs
-Compared:                 23 files
+Compared: [Redacted] files
 Saved:                    144 KiB
 Duration: [Redacted]
 dir-1/sdir-1/file-a-1  5       8192    1540236330      644
index ab69099b8aa733d690fd21c1f0cd6c75bc24ad53..10007140197c5488aae9b35539e934138b0c3f66 100755 (executable)
@@ -45,6 +45,7 @@ summary_clean()
        sed -i \
                -e 's/^Duration:.*/Duration: [Redacted]/' \
                -e 's/^Method:.*/Method: [Redacted]/' \
+               -e 's/^Compared:.*files/Compared: [Redacted] files/' \
                $TS_OUTPUT
 }