summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/strtol/strtoltest.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix on 32bit platforms where 0xdeadbeef > LONG_MAX.schwarze2014-09-191-4/+6
| | | | | | | To avoid making tests machine dependent, only test values inside 32bit LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between. While here, cover 32bit edge cases, negative values, and overflows. ok jsing@
* Add a regress test for strtol, which currently fails.jsing2012-11-181-0/+78
ok otto@