test-lib: add prerequisite for 64-bit platforms
commit970fa57f768a276bddbc4bd1450bb1c3feb20f2b
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Tue, 2 Nov 2021 15:46:06 +0000 (2 15:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Nov 2021 18:22:26 +0000 (3 11:22 -0700)
tree0c2c1178f75bf803617fee72d6f9b5ea8d2ccf56
parentdf7000cd910a5f6991f73991b87d838a5d75e2fc
test-lib: add prerequisite for 64-bit platforms

Allow tests that assume a 64-bit `size_t` to be skipped in 32-bit
platforms and regardless of the size of `long`.

This imitates the `LONG_IS_64BIT` prerequisite.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh