From 3f97f1bce6aeb9ee2b642f51cb62f610dc3a4ae0 Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Thu, 21 Nov 2024 15:29:24 -0500 Subject: [PATCH] t/perf: use 'test_file_size' in more places The perf test suite prefers to use test_file_size over 'wc -c' when inside of a test_size block. One advantage is that accidentally writign "wc -c file" (instead of "wc -c Signed-off-by: Junio C Hamano --- t/perf/p5311-pack-bitmaps-fetch.sh | 2 +- t/perf/p5332-multi-pack-reuse.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/perf/p5311-pack-bitmaps-fetch.sh b/t/perf/p5311-pack-bitmaps-fetch.sh index 426fab87e3293e..047efb995d647b 100755 --- a/t/perf/p5311-pack-bitmaps-fetch.sh +++ b/t/perf/p5311-pack-bitmaps-fetch.sh @@ -39,7 +39,7 @@ test_fetch_bitmaps () { ' test_size "size $title" ' - wc -c