Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0006: skip "far in the future" test when unsigned long is not long enough
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 51e4a88c333463e23957eb07139b01a3de1a1a0e..4595734f957b7f4e6b40f0024a92b46110a8b7c3 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-1098,3
+1098,12
@@
run_with_limited_cmdline () {
}
test_lazy_prereq CMDLINE_LIMIT 'run_with_limited_cmdline true'
+
+build_option () {
+ git version --build-options |
+ sed -ne "s/^$1: //p"
+}
+
+test_lazy_prereq LONG_IS_64BIT '
+ test 8 -le "$(build_option sizeof-long)"
+'