CVS commit: src/tests/lib/libc/stdlib

2021-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 11 20:31:34 UTC 2021 Modified Files: src/tests/lib/libc/stdlib: t_mktemp.c Log Message: Only try to create up-to NAME_MAX filenames. XXX: this should be moved to stdio/t_mktemp.c where the rest of the tests are and the c

CVS commit: src/tests/lib/libc/stdlib

2020-11-01 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sun Nov 1 18:19:54 UTC 2020 Modified Files: src/tests/lib/libc/stdlib: t_mktemp.c Log Message: Make the mkstemps_basic and mkostemps_basic test cases not randomly fail when the replacement string happens to contain the letter "y".

CVS commit: src/tests/lib/libc/stdlib

2020-06-30 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Jul 1 05:37:25 UTC 2020 Modified Files: src/tests/lib/libc/stdlib: t_mktemp.c Log Message: Add basic tests for the rest of the mktemp(3) family of functions, including a case for PR lib/55441. To generate a diff of this com

CVS commit: src/tests/lib/libc/stdlib

2020-06-29 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Jun 29 20:53:40 UTC 2020 Modified Files: src/tests/lib/libc/stdlib: t_mbtowc.c Log Message: Avoid copyright issues and name the listed author as the copyright holder. In a private email, Miloslav had agreed that if they had wri

CVS commit: src/tests/lib/libc/stdlib

2020-06-27 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jun 27 10:19:43 UTC 2020 Modified Files: src/tests/lib/libc/stdlib: t_mbtowc.c Log Message: Add the default TNF copyright (2005), cf. PR misc/55419. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/l

CVS commit: src/tests/lib/libc/stdlib

2018-07-28 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Jul 29 01:45:25 UTC 2018 Modified Files: src/tests/lib/libc/stdlib: t_posix_memalign.c Log Message: Don't require size to be a multiple of alignment. This is no longer a requirement as of C18. To generate a diff of this commit

CVS commit: src/tests/lib/libc/stdlib

2017-07-10 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Jul 10 21:43:33 UTC 2017 Modified Files: src/tests/lib/libc/stdlib: t_atexit.sh Log Message: Reference correct binary in error messages. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/stdlib/t_

CVS commit: src/tests/lib/libc/stdlib

2017-04-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 28 19:01:01 UTC 2017 Modified Files: src/tests/lib/libc/stdlib: t_strtoi.c Log Message: Fix typo in ATF test t_strtoi.c No functional change. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc

CVS commit: src/tests/lib/libc/stdlib

2016-05-31 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jun 1 01:12:03 UTC 2016 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Fix testing of returned entptr, and fix three affected tests. >From kamil@ via PR lib/49632 To generate a diff of this commit: cv

CVS commit: src/tests/lib/libc/stdlib

2015-12-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 22 14:27:14 UTC 2015 Modified Files: src/tests/lib/libc/stdlib: Makefile Log Message: Add __TEST_FENV To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/tests/lib/libc/stdlib/Makefile Please note that d

CVS commit: src/tests/lib/libc/stdlib

2015-12-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 22 14:19:25 UTC 2015 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Put have fenv elsewhere. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/tests/lib/libc/stdlib/t_strtod.c Pleas

CVS commit: src/tests/lib/libc/stdlib

2015-11-07 Thread Niclas Rosenvik
Module Name:src Committed By: nros Date: Sat Nov 7 17:35:31 UTC 2015 Modified Files: src/tests/lib/libc/stdlib: t_posix_memalign.c Log Message: Fix code style errors pointed out by christos during the review of the aligned_alloc test that also applies to the posix_memalig

CVS commit: src/tests/lib/libc/stdlib

2015-02-27 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 27 08:55:36 UTC 2015 Modified Files: src/tests/lib/libc/stdlib: t_getenv.c Log Message: Double the timeout for sentev_basic to 600 seconds to make it work on slower machines. To generate a diff of this commit: cvs rdiff

CVS commit: src/tests/lib/libc/stdlib

2014-12-27 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Dec 27 18:03:41 UTC 2014 Modified Files: src/tests/lib/libc/stdlib: Makefile t_strtod.c Log Message: Move the list of supporting architectures to the makefile and sync it with other copies. To generate a diff of this commit

CVS commit: src/tests/lib/libc/stdlib

2014-03-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Mar 1 22:38:13 UTC 2014 Modified Files: src/tests/lib/libc/stdlib: t_abs.c Log Message: Fix sign. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/stdlib/t_abs.c Please note that diffs are not

CVS commit: src/tests/lib/libc/stdlib

2014-02-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 27 17:25:28 UTC 2014 Modified Files: src/tests/lib/libc/stdlib: t_abs.c Log Message: Don't use integer downcasts, use correctly sized constants for each test. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 sr

CVS commit: src/tests/lib/libc/stdlib

2012-05-15 Thread Alexander Nasonov
Module Name:src Committed By: alnsn Date: Tue May 15 18:46:20 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Test a bug found by Geza Herman. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/tests/lib/libc/stdlib/t_strtod.c

CVS commit: src/tests/lib/libc/stdlib

2012-04-04 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Apr 4 10:52:59 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: Makefile t_strtod.c Log Message: Try fixing t_strtod to not depend on -ffloat-store by adding the necessary volatiles. To generate a diff of this commit: cvs

CVS commit: src/tests/lib/libc/stdlib

2012-03-29 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 29 08:56:06 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: t_random.c Log Message: Adjust as per apb@'s suggestion. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/stdlib/t_random.c P

CVS commit: src/tests/lib/libc/stdlib

2012-03-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Mar 29 05:56:36 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: t_atoi.c Log Message: There was also atoll(3). To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/stdlib/t_atoi.c Please note t

CVS commit: src/tests/lib/libc/stdlib

2012-03-28 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Mar 28 10:38:00 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: t_random.c Log Message: Apparently there is a CVE coming for the bug, so append that to a comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1

CVS commit: src/tests/lib/libc/stdlib

2012-02-24 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Feb 24 14:02:55 UTC 2012 Modified Files: src/tests/lib/libc/stdlib: Makefile Log Message: Restrict -ffloat-store to t_strtod.c. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libc/stdlib/Makefile

CVS commit: src/tests/lib/libc/stdlib

2011-09-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 15 14:51:06 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_hsearch.c Log Message: add the reentrant function tests (copies of the non-reentrant one). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 s

CVS commit: src/tests/lib/libc/stdlib

2011-07-15 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Fri Jul 15 14:00:41 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: Makefile Log Message: Fix wrong linker flag that has always been lurking here. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/tests/lib/l

CVS commit: src/tests/lib/libc/stdlib

2011-07-07 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Jul 7 11:12:18 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_div.c t_hsearch.c t_mi_vector_hash.c t_posix_memalign.c Log Message: Rename some test case names. No functional change. To generate a diff of

CVS commit: src/tests/lib/libc/stdlib

2011-06-13 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Jun 14 02:45:58 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Remove the cases that cause integer overflow on e.g. i386. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib

CVS commit: src/tests/lib/libc/stdlib

2011-06-13 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Jun 14 02:37:31 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: The NaN case for strtold(3) was fixed for x86. Adjust for the expected failures (known failures include again the special case of qemu

CVS commit: src/tests/lib/libc/stdlib

2011-06-07 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Jun 8 05:31:43 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Adjust types. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/stdlib/t_strtol.c Please note that dif

CVS commit: src/tests/lib/libc/stdlib

2011-06-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jun 7 13:51:52 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Sparc64 does not fail the strtold_nan test, so don't expect failure there To generate a diff of this commit: cvs rdiff -u -r1.19 -r1

CVS commit: src/tests/lib/libc/stdlib

2011-06-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jun 5 16:33:52 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Granularity is fine, but also adjust atf_tc_expect_fail() properly. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 sr

CVS commit: src/tests/lib/libc/stdlib

2011-06-05 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jun 5 13:51:46 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Do not blindly cast things (obviously makes the test fail). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/li

CVS commit: src/tests/lib/libc/stdlib

2011-06-05 Thread Julio Merino
Module Name:src Committed By: jmmv Date: Sun Jun 5 07:58:03 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Do not blindly skip test code. Tests are not supposed to skip whole parts of code to later report a success. Instead, they need to repo

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 5 00:02:05 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: - use c99 to avoid extra ifdefs and tidy up the code - require that undeflow returns 0 and ERANGE To generate a diff of this commi

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jun 4 22:55:57 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Only do the long double tests if __HAVE_LONG_DOUBLE is defined To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/tests

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Adam Hamsik
Module Name:src Committed By: haad Date: Sat Jun 4 22:49:49 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtol.c Log Message: Fix problem with overflowing constant definition t_strtol.c:95: warning: overflow in implicit constant conversion To generate a diff

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jun 4 11:12:29 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: Makefile t_strtod.c Log Message: Add -ffloat-store add test lib/45020 also with __isnanl(). To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 sr

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jun 4 10:16:59 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Add more strings to the "infinity test". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/lib/libc/stdlib/t_s

CVS commit: src/tests/lib/libc/stdlib

2011-06-04 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sat Jun 4 09:57:33 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Verify PR lib/45020. Fails at least on amd64. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/stdli

CVS commit: src/tests/lib/libc/stdlib

2011-05-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue May 10 19:18:19 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Use the same conditional check from to fix an immediate build error pointed out by cliff@. (This does not however sound like a sane t

CVS commit: src/tests/lib/libc/stdlib

2011-05-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue May 10 15:20:19 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Verify that strtod(3) honors the current rounding mode set by fesetround(3). Passes on amd64. Prompted by a bug in the GNU C library.

CVS commit: src/tests/lib/libc/stdlib

2011-04-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Apr 12 02:56:20 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Better to still leave the old PR number as a comment. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc

CVS commit: src/tests/lib/libc/stdlib

2011-04-11 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Tue Apr 12 02:52:20 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: PR lib/33262 should be fixed; remove expected failure. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/lib

CVS commit: src/tests/lib/libc/stdlib

2011-04-10 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Apr 10 10:23:45 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Currently known failures affect only amd64; adjust atf_tc_expect_fail(). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/tests/lib/libc/stdlib

2011-04-06 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Wed Apr 6 07:25:34 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtod.c Log Message: Verify the existence of PR lib/33262. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/stdlib/t_strtod

CVS commit: src/tests/lib/libc/stdlib

2011-03-22 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Tue Mar 22 22:29:18 UTC 2011 Modified Files: src/tests/lib/libc/stdlib: t_strtox.c Log Message: Test case from PR/44189 should not fail anymore. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/stdli

CVS commit: src/tests/lib/libc/stdlib

2010-12-06 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Dec 6 17:30:07 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_strtox.c Log Message: Adjust PR format in xfail message so that html test results gain a link to http://gnats.netbsd.org/44189 To generate a diff of this c

CVS commit: src/tests/lib/libc/stdlib

2010-11-19 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Tue Nov 16 14:03:47 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: Makefile t_environment.c Added Files: src/tests/lib/libc/stdlib: t_environment_pth.c Log Message: Split threaded environment test for the other environm

CVS commit: src/tests/lib/libc/stdlib

2010-11-17 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Wed Nov 17 08:55:27 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment_pth.c Log Message: Put my name in the author section. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/stdlib/t_en

CVS commit: src/tests/lib/libc/stdlib

2010-11-14 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Nov 14 19:19:25 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: Makefile t_environment.c Log Message: Add a new regression test "t_threaded" which tests using getenv_r(3), putenv(3), setenv(3) and unsetenv(3) concurrently.

CVS commit: src/tests/lib/libc/stdlib

2010-11-14 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sun Nov 14 18:15:08 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: Update tests for *env(3): - Introduce randomness into "t_setenv" to avoid freeing environment variables exactly in the order they

CVS commit: src/tests/lib/libc/stdlib

2010-11-13 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sat Nov 13 21:08:37 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: Add a test for getenv(3) which fails at the moment because it doesn't handle "=" in variable names properly. I'll send out a diff

CVS commit: src/tests/lib/libc/stdlib

2010-11-13 Thread Matthias Scheler
Module Name:src Committed By: tron Date: Sat Nov 13 18:52:55 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: Improve testing of environment handling: 1.) Always check the return value of setenv(3) and unsetenv(3). 2.) Test that calling sete

CVS commit: src/tests/lib/libc/stdlib

2010-11-09 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Tue Nov 9 11:48:36 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: This test is cursed. Yesterday I thought I committed the increased timeout and when the test was still failing for the autotests

CVS commit: src/tests/lib/libc/stdlib

2010-11-08 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Nov 8 23:28:41 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: Increase timeout from 30 to 300 since this test runs for a long time. XXX1: should 2x10240 loops really be *that* slow? XXX2: is

CVS commit: src/tests/lib/libc/stdlib

2010-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 3 16:09:44 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: add a clearenv test. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/stdlib/t_environment.c P

CVS commit: src/tests/lib/libc/stdlib

2010-10-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 1 20:12:21 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: Add tests for putenv(3) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/stdlib/t_environment.c

CVS commit: src/tests/lib/libc/stdlib

2010-09-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 23 17:38:08 UTC 2010 Modified Files: src/tests/lib/libc/stdlib: Makefile Added Files: src/tests/lib/libc/stdlib: t_environment.c Log Message: unit test for environment. Grr, someone should make fixing the sets ea