From 512ba8c7341f38166d699ab8e7884de41600829f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 28 Feb 2023 18:24:16 +0000 Subject: [PATCH] hardlink: (tests) do not assert amount of compared files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/expected/hardlink/options-maximum-size-8191 | 2 +- tests/expected/hardlink/options-maximum-size-8192 | 2 +- tests/ts/hardlink/options | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/expected/hardlink/options-maximum-size-8191 b/tests/expected/hardlink/options-maximum-size-8191 index d57c92ae94..213f01b206 100644 --- a/tests/expected/hardlink/options-maximum-size-8191 +++ b/tests/expected/hardlink/options-maximum-size-8191 @@ -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 diff --git a/tests/expected/hardlink/options-maximum-size-8192 b/tests/expected/hardlink/options-maximum-size-8192 index c571adf52d..9c522d756d 100644 --- a/tests/expected/hardlink/options-maximum-size-8192 +++ b/tests/expected/hardlink/options-maximum-size-8192 @@ -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 diff --git a/tests/ts/hardlink/options b/tests/ts/hardlink/options index ab69099b8a..1000714019 100755 --- a/tests/ts/hardlink/options +++ b/tests/ts/hardlink/options @@ -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 } -- 2.47.3