test-lib: add prerequisite for 64-bit platforms
commita244dc5b0a629290881641467c7a545de7508ab2
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>
Fri, 9 Dec 2022 05:26:04 +0000 (9 14:26 +0900)
treebf5dcd6d5476b0bdcf1671ec4e2668af55abae7d
parentabd4d67ab0f84fff703fa14d9eebfd287b42daeb
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