aboutsummaryrefslogtreecommitdiff
path: root/contrib/netbsd-tests/lib/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* libc: Add unit tests for N2630 and possible collateral damage.Dag-Erling Smørgrav2023-08-281-0/+6
| | | | | Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41512
* Add additional __FreeBSD_version guards around the hsearch_r testcasesEnji Cooper2017-03-011-0/+2
| | | | | | | | | | | | | | The reasoning for this is the same as r276046: to ease MFCing the tests to ^/stable/10 . This was accidentally missed in r313439 MFC after: 1 week X-MFC with: r313439 Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314450
* Expect :hsearch_r_nonexistent to fail on FreeBSDEnji Cooper2017-02-071-0/+3
| | | | | | | | | | | The docs and the behavior mismatch; as noted in the bug, the behavior for hsearch_r matches Linux, whereas the docs seem to match NetBSD requirements wise. PR: 216872 Notes: svn path=/projects/netbsd-tests-upstream-01-2017/; revision=313375
* Uncomment more of the hsearch_r testcasesEnji Cooper2017-02-071-9/+9
| | | | | | | | | Call hdestroy/hdestroy_r on FreeBSD instead of hdestroy(1?)(_r). All but hdestroy_r_nonexistent pass as-is. Notes: svn path=/projects/netbsd-tests-upstream-01-2017/; revision=313372
* Reintroduce libutil.h #include for FreeBSD only for fparselnEnji Cooper2017-01-162-0/+14
| | | | Notes: svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312313
* Remove libutil.h #include on FreeBSD and instead favor stdio.h from libnetbsdEnji Cooper2017-01-152-6/+0
| | | | Notes: svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312239
* :strtold_nan: remove unnecessary strcmp checkEnji Cooper2017-01-141-3/+1
| | | | | | | It gets checked again later on in the testcase Notes: svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312141
* Remove __HAVE_LONG_DOUBLE #define from t_strtod.c and place it in MakefileEnji Cooper2017-01-121-4/+0
| | | | | | | | | | | This is to enable support in other testcases Inspired by lib/msun/tests/Makefile . MFC after: 1 week Notes: svn path=/head/; revision=311969
* Don't test `size[i] % align[i] == 0` case on FreeBSDEnji Cooper2016-08-251-0/+10
| | | | | | | | | | | Per jemalloc(3)/aligned_alloc(3), the behavior is undefined if the size isn't an integral multiple of the alignment. Thus, this is a NetBSD-specific test. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/projects/netbsd-tests-update-12/; revision=304813
* Checkpoint initial integration workEnji Cooper2016-08-125-21/+377
| | | | | | | | | | | | - Some of the lib/libc and lib/thr tests fail - lib/msun/exp_test:exp2_values now passes with clang 3.8.0 The Makefiles in contrib/netbsd-tests were pruned as they have no value Sponsored by: EMC / Isilon Storage Division Notes: svn path=/projects/netbsd-tests-update-12/; revision=304003
* Add __FreeBSD_version guards around hsearch_r to ease MFCing the code toEnji Cooper2014-12-211-1/+5
| | | | | | | | | stable/10 It was added when __FreeBSD_version was ~1100027 Notes: svn path=/head/; revision=276046
* Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) withEnji Cooper2014-11-175-10/+10
| | | | | | | | | | | | their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some items from the vendor tree that use #if defined(__FreeBSD__) or #if defined(__NetBSD__) which are being left alone Requested by: bde, rpaulo Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=274626
* Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after ↵Enji Cooper2014-11-041-3/+2
| | | | | | | | | | | atf-c/config.h was removed from the build Pointyhat to: me (again, for not running make delete-old after running test builds) Notes: svn path=/head/; revision=274079
* Finish off lib/libc/stdlib/t_strtod.c port by checking for "y" twice onEnji Cooper2014-11-041-1/+7
| | | | | | | | | FreeBSD, and always assume long long double exists on FreeBSD Submitted by: pho Notes: svn path=/head/; revision=274072
* Port h_atexit to FreeBSDEnji Cooper2014-11-011-0/+34
| | | | | | | | | | | | __cxa_atexit varies between FreeBSD and NetBSD, and thus we must use pointers instead of static fields in the BSS. More extensive discussion is included in the source code In collaboration with: kib Submitted by: pho Notes: svn path=/head/; revision=273946
* libutil.h is required for fparseln on FreeBSDEnji Cooper2014-10-211-0/+3
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273390
* __isnanl is automatically picked according to data type in <math.h>. ThereEnji Cooper2014-10-131-0/+2
| | | | | | | | | isn't a need for the explicit __isnanl test Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=273023
* #include libutil.h for fparseln on FreeBSDEnji Cooper2014-10-121-0/+3
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272980
* Expect SIGSEGV in lib/libc/stdlib/t_getenv:setenv_basicEnji Cooper2014-10-101-0/+12
| | | | | | | | | | See bin/189805 for more details In collaboration with: pho Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272891
* Only build/run hsearch_basic and hsearch_r_basic on NetBSDEnji Cooper2014-10-101-0/+8
| | | | | | | | | hdestroy1 is not present on FreeBSD Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272890
* Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,Enji Cooper2014-10-0218-0/+3045
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272458