summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-12-13 21:02:20 +0900
committerJunio C Hamano <gitster@pobox.com>2022-12-13 21:02:20 +0900
commit16128765d70f1375bcde3f27f51f85492b176a59 (patch)
treedd23b225efbbae95d2446dddb24822cec4a95f01 /t/test-lib.sh
parentecf9b4a443ecd2c7dc759e5d18f226694bc3eced (diff)
parentb7b37a33711e64bf580ef3141878b12a36e28833 (diff)
downloadgit-16128765d70f1375bcde3f27f51f85492b176a59.tar.gz
Sync with Git 2.30.7
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index d3f6af6a65..474bf926d2 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1635,6 +1635,10 @@ build_option () {
sed -ne "s/^$1: //p"
}
+test_lazy_prereq SIZE_T_IS_64BIT '
+ test 8 -eq "$(build_option sizeof-size_t)"
+'
+
test_lazy_prereq LONG_IS_64BIT '
test 8 -le "$(build_option sizeof-long)"
'