summaryrefslogtreecommitdiff
path: root/tests/lib/libc/stdlib
AgeCommit message (Collapse)Author
2014-03-01Fix sign.joerg
2014-02-27Don't use integer downcasts, use correctly sized constants for each test.joerg
2012-09-26Remove expected failures that no longer fail (probably due a Qemu update).jruoho
2012-05-15Test a bug found by Geza Herman.alnsn
2012-04-04Try fixing t_strtod to not depend on -ffloat-store by adding thejoerg
necessary volatiles.
2012-03-29Adjust as per apb@'s suggestion.jruoho
2012-03-29Few fundamental consistency checks for the abs(3) family.jruoho
2012-03-29There was also atoll(3).jruoho
2012-03-29Few naive consistency checks for the atoi(3) family.jruoho
2012-03-28Apparently there is a CVE coming for the bug, so append that to a comment.jruoho
2012-03-28Add a small test that checks that random(3) does not always return zero whenjruoho
the RNG is initialized with zero. Prompoted by the recent nasty bug in the OpenBSD libc.
2012-03-18Move the references to PRs from code comments to the test description. Oncejruoho
ATF has the ability to output the metadata in the HTML reports, it should be easy to traverse between releng and gnats -reports via links.
2012-03-15Add __printflike attribution to use vprintf and friends with an argumentjoerg
as format string.
2012-02-24Restrict -ffloat-store to t_strtod.c.joerg
2011-09-30Add expected failures for Qemu.jruoho
2011-09-15add the reentrant function tests (copies of the non-reentrant one).christos
2011-09-11See that system(3) works.jruoho
2011-08-29Remove some cruft that is no longer needed.jruoho
2011-08-29Remove Xfails that are related to the infamous qemu/amd64 floating pointjruoho
bugs. It appears to be quite difficult to identify the exact Qemu version and setup. These do not fail on the TNF's qemu/amd64 setup, which can be taken as a reference point for expected failures.
2011-07-15Fix wrong linker flag that has always been lurking here.jruoho
2011-07-15Split out the -lpthread tests to a separate file.jruoho
XXX: The only thing gained from this is seeing whether -lpthread breaks the getenv(3) family. Yet, a strict hypothesis about this would require that the two test files are identical, which they are not.
2011-07-08Remove the amd64-part from the Qemu checks. The following tests fail also onjruoho
i386/qemu: 'strtold_inf', 'strtold_nan', and 'infinity_long_double'. It seems that more than anything else, these are dependent on the used Qemu version.
2011-07-07Merge 't_environment' and 't_environment_pth'.jruoho
2011-07-07Rename some test case names. No functional change.jruoho
2011-07-07Improve the QEMU/amd64 detection.jruoho
2011-07-04XXX: ugly hack to make these valid for vax fp.mrg
XXX: could consolidate some of this into a common header, but i'll leave that clean up for another time.
2011-06-14Remove the cases that cause integer overflow on e.g. i386.jruoho
2011-06-14The NaN case for strtold(3) was fixed for x86. Adjust for the expectedjruoho
failures (known failures include again the special case of qemu/amd64).
2011-06-08Adjust types.jruoho
2011-06-07Sparc64 does not fail the strtold_nan test, so don't expect failure theremartin
2011-06-05Granularity is fine, but also adjust atf_tc_expect_fail() properly.jruoho
2011-06-05Do not blindly cast things (obviously makes the test fail).jruoho
2011-06-05Do not blindly skip test code.jmmv
Tests are not supposed to skip whole parts of code to later report a success. Instead, they need to report a 'skipped' result so that it is clear to the user that some part of the tests were not run. To do this, add proper calls to atf_tc_skip where some pieces of code are skipped. Also, make the strtod/strtof/strtold inf and nan tests more granular so that the *ld versions can be skipped altogether when there is no support for them. As a result of this, the atf_tc_expect_fail becomes accurate; it could have hidden bugs in strtod and strtof before.
2011-06-05- use c99 to avoid extra ifdefs and tidy up the codechristos
- require that undeflow returns 0 and ERANGE
2011-06-04Only do the long double tests if __HAVE_LONG_DOUBLE is definedmatt
2011-06-04Fix problem with overflowing constant definitionhaad
t_strtol.c:95: warning: overflow in implicit constant conversion
2011-06-04Add some tests for strtol(3).jruoho
2011-06-04Add -ffloat-store add test lib/45020 also with __isnanl().jruoho
2011-06-04Add more strings to the "infinity test".jruoho
2011-06-04Verify PR lib/45020. Fails at least on amd64.jruoho
2011-05-31Mark the following tests as expected failures on qemu/amd64: 'strtod_inf',jruoho
'strtod_round', and 'infinity_long_double'. None of these fail on any known native host. Use the tracker PR misc/44767 as the reference point.
2011-05-20Add fenv support for sparc. Mostly copied from sparc64 and share with it.nakayama
2011-05-16The support of <fenv.h> is actually for __sparc64__, not for __sparc__he
(which is also defined on sparc64). This fixes a build problem for plain sparc.
2011-05-10Use the same conditional check from <fenv.h> to fix an immediate build errorjruoho
pointed out by cliff@. (This does not however sound like a sane thing to mandate from a C99 header.)
2011-05-10Verify that strtod(3) honors the current rounding mode set by fesetround(3).jruoho
Passes on amd64. Prompted by a bug in the GNU C library.
2011-05-09Few basic tests for exit(3).jruoho
2011-04-12Better to still leave the old PR number as a comment.jruoho
2011-04-12PR lib/33262 should be fixed; remove expected failure.jruoho
2011-04-10Currently known failures affect only amd64; adjust atf_tc_expect_fail().jruoho
2011-04-08Fix build failure on VAX.jruoho