tests: avoid calling Perl just to determine file sizes
commit5868bd862059fcf96e2908e94427da6e7fcd1394
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 29 Jan 2019 14:19:33 +0000 (29 06:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 17:26:47 +0000 (29 09:26 -0800)
treefe4c30c50d0df19bf547db69da1e633ca6e4b7d4
parent5f7864663bdb71635b4aaf0d996db14e4d521ff6
tests: avoid calling Perl just to determine file sizes

It is a bit ridiculous to spin up a full-blown Perl instance (especially
on Windows, where that means spinning up a full POSIX emulation layer,
AKA the MSYS2 runtime) just to tell how large a given file is.

So let's just use the test-tool to do that job instead.

This command will also be used over the next commits, to allow for
cutting out individual test cases' verbose log from the file generated
via --verbose-log.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-path-utils.c
t/t0021-conversion.sh
t/t1050-large.sh
t/t5315-pack-objects-compression.sh
t/t9303-fast-import-compression.sh