From: Taylor Blau Date: Thu, 21 Nov 2024 20:29:24 +0000 (-0500) Subject: t/perf: use 'test_file_size' in more places X-Git-Tag: v2.48.0-rc0~33^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f97f1bce6aeb9ee2b642f51cb62f610dc3a4ae0;p=thirdparty%2Fgit.git 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 --- diff --git a/t/perf/p5311-pack-bitmaps-fetch.sh b/t/perf/p5311-pack-bitmaps-fetch.sh index 426fab87e3..047efb995d 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