author | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jul 2008 19:53:45 +0000 (12:53 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jul 2008 19:53:45 +0000 (12:53 -0700) | ||
commit | c4aca9ccda51badb672ab70099863072d1567267 | |
tree | c69878ce9914b25e4eda1a476e560c0646f13f01 | tree | snapshot |
parent | 5354a56fe70420c147f930e0f7f1decbae685d19 | commit | diff |
Fix test-parse-options "integer" test
OPT_INTEGER() works on an integer, not on an unsigned long. On a big
endian architecture with long larger than int, integer test gives bogus
results because of this bug.
Reported by H.Merijn Brand in HP-UX 64-bit environment.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
OPT_INTEGER() works on an integer, not on an unsigned long. On a big
endian architecture with long larger than int, integer test gives bogus
results because of this bug.
Reported by H.Merijn Brand in HP-UX 64-bit environment.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh | diff | blob | history | |
test-parse-options.c | diff | blob | history |