Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add regression tests for logarithmic functions in the math library. | das | 2010-12-05 | 3 | -1/+169 | |
| | ||||||
* | Add some basic regression tests for nearbyint(). | das | 2010-12-03 | 3 | -1/+111 | |
| | ||||||
* | Generate some tests for sh's case command from the fnmatch tests. | jilles | 2010-05-09 | 2 | -1/+55 | |
| | | | | | I'm committing the generated files because I don't like a build dependency for the sh(1) tests, and they are small and will not change much. | |||||
* | fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen. | jilles | 2010-04-16 | 1 | -0/+1 | |
| | | | | | | | Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after: 1 week | |||||
* | Add some tests for fnmatch(3). | jilles | 2010-04-16 | 2 | -1/+336 | |
| | | | | MFC after: 1 week | |||||
* | The NetBSD Foundation has granted permission to remove clause 3 and 4 from | joel | 2010-03-03 | 1 | -7/+0 | |
| | | | | | | their software. Obtained from: NetBSD | |||||
* | Add test-pidfile.c and increase warning level. | des | 2009-11-12 | 1 | -2/+2 | |
| | ||||||
* | Test cases for pidfile(3) - including two designed to catch issues arising | des | 2009-11-12 | 1 | -0/+280 | |
| | | | | from the incorrect use of fcntl(2) instead of flock(2). | |||||
* | Fix warnings and remove one unnecessary use of vfork(). The other could | des | 2009-11-12 | 1 | -9/+3 | |
| | | | | also be removed with a little more work. | |||||
* | Fix warnings | des | 2009-11-12 | 3 | -7/+9 | |
| | ||||||
* | Check fork() return value | des | 2009-11-10 | 1 | -2/+5 | |
| | ||||||
* | wordexp(3): fix some bugs with signals and long outputs | jilles | 2009-10-23 | 1 | -0/+42 | |
| | | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month | |||||
* | Update copyright. | des | 2009-10-19 | 1 | -1/+1 | |
| | ||||||
* | Remove redundant $FreeBSD$. | des | 2009-10-19 | 1 | -2/+0 | |
| | ||||||
* | Regression tests for r197752 (handling of empty/NULL buffers). | das | 2009-10-04 | 1 | -1/+20 | |
| | ||||||
* | Check that flopen() can lock against self and that children inherit the lock. | des | 2009-06-06 | 1 | -6/+41 | |
| | ||||||
* | Return -1 instead of 0 upon reaching EOF. This is somewhat ill-advised | das | 2009-04-06 | 1 | -2/+2 | |
| | | | | | | | | because it means getdelim() returns -1 for both error and EOF, and never returns 0. However, this is what the original GNU implementation does, and POSIX inherited the bug. Reported by: marcus@ | |||||
* | Tests for getdelim(). | das | 2009-02-28 | 2 | -1/+169 | |
| | ||||||
* | Add a file containing tests for simple format specifiers. | das | 2009-02-28 | 2 | -1/+157 | |
| | | | | | Currently it only has tests for a few sign issues with integer formats, including PR 131880. | |||||
* | Tests for wcscasecmp(), wcsnlen(), and stpncpy(). | das | 2009-02-28 | 4 | -1/+269 | |
| | ||||||
* | Rename all symbols in libmp(3) to mp_*, just like Solaris. | ed | 2009-02-26 | 1 | -59/+59 | |
| | | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky | |||||
* | Test wprintf() in addition to printf(). | das | 2009-01-31 | 1 | -3/+19 | |
| | ||||||
* | Add tests for conj{,f,l}() that I wrote some time ago. These test the | das | 2009-01-31 | 3 | -1/+169 | |
| | | | | versions in libm, not the gcc builtins. | |||||
* | #ifdef out the lock-against-self test. I'm not sure it makes sense, and | des | 2008-10-20 | 1 | -0/+4 | |
| | | | | | | it relies on non-portable flock(2) semantics. Not only is flock(2) not portable, but on some OSes that do have it, it is implemented in terms of fcntl(2) locks, which are per-process rather than per-descriptor. | |||||
* | Regression tests for bugs in gdtoa. | das | 2008-09-03 | 1 | -11/+17 | |
| | ||||||
* | Test that the result is correctly rounded when |y/x| is huge. | das | 2008-08-02 | 1 | -16/+9 | |
| | ||||||
* | Regression tests for fmtcheck(3). | das | 2008-08-02 | 2 | -1/+103 | |
| | | | | Obtained from: NetBSD | |||||
* | Add some tests for acos*(), asin*(), atan*(), and atan2*(). | das | 2008-07-31 | 3 | -1/+504 | |
| | ||||||
* | Add regression tests for fmin{,f,l} and fmax{,f,l}. | das | 2008-07-03 | 3 | -1/+161 | |
| | | | | | | | | I wrote these to test amd64 asm functions that used maxss, maxsd, minss, and minsd, but it turns out that those instructions don't handle NaNs and signed zero in the same way as fmin() and fmax() are required to, so we're stuck with the C versions for now. | |||||
* | Add some regression tests for printf() with positional arguments. | das | 2008-06-29 | 2 | -1/+133 | |
| | | | | | | | | | The first test comes from OpenBSD, and the others are additions or adaptations. This is based on OpenBSD's src/regress/lib/libc/sprintf/sprintf_test.c, v1.3. I deliberately did not use v1.4 because it's bogus. | |||||
* | Regression test for a recently fixed strtod bug. | das | 2008-06-21 | 1 | -1/+11 | |
| | ||||||
* | Add four utility functions related to struct grp processing modeled in-part | scf | 2008-04-23 | 3 | -1/+130 | |
| | | | | | | | | | | | | | | | | | | | after similar calls related to struct pwd in libutil/pw_util.c: - gr_equal() Perform a deep comparison of two struct grp's. It does a thorough, yet unoptimized comparison of all the members regardless of order. - gr_make() Create a string (see group(5)) from a struct grp. - gr_dup() Duplicate a struct grp. Returns a value that is a single contiguous block of memory. - gr_scan() Create a struct grp from a string (as produced by gr_make()). MFC after: 3 weeks | |||||
* | Updates for changes in the way printf() handles hex floating point | das | 2008-04-12 | 1 | -5/+5 | |
| | | | | numbers. | |||||
* | Add some tests for fma(), fmaf(), and fmal(). | das | 2008-04-03 | 3 | -1/+424 | |
| | ||||||
* | Test remainderl() and remquol() as well. | das | 2008-03-30 | 1 | -4/+34 | |
| | ||||||
* | Add some minimal tests for csqrtl(). | das | 2008-03-30 | 1 | -59/+88 | |
| | ||||||
* | Don't run tests that assume <= 64-bit precision on machines with quad | das | 2008-03-02 | 1 | -8/+20 | |
| | | | | precision. | |||||
* | Some basic regression tests for {sin,cos,tan}{,f,l}(). | das | 2008-02-18 | 3 | -1/+293 | |
| | ||||||
* | There are 3 tests here, not 2. | das | 2008-02-17 | 1 | -1/+1 | |
| | ||||||
* | expm1(-big) generates an inexact exception but not underflow. | das | 2008-01-18 | 1 | -1/+1 | |
| | ||||||
* | Add some regression tests for libm's exponential functions. These | das | 2008-01-18 | 3 | -1/+181 | |
| | | | | | | | mostly just test corner cases rather than accuracy. Some of the tests don't pass right now if you compile libm at -O2 due to gcc constant-folding some things that it shouldn't. I'll fix that shortly. | |||||
* | Tests for lrintl() and llrintl(). I didn't add anything specially | das | 2008-01-14 | 1 | -5/+22 | |
| | | | | | tailored for the long double format; instead, I just modified the existing tests to test lrintl() and llrintl() as well. | |||||
* | Fix an amusing typo that has prevented this from compiling since 2004. | das | 2007-12-16 | 1 | -7/+7 | |
| | ||||||
* | Don't try the long double tests on i386. Our reduced precision | das | 2007-12-16 | 1 | -1/+1 | |
| | | | | can cause them to fail. | |||||
* | Remove another Alpha remnant. | das | 2007-12-16 | 1 | -1/+0 | |
| | ||||||
* | Regression tests for nan{,f,l}(). | das | 2007-12-16 | 3 | -1/+133 | |
| | ||||||
* | Regression tests for csqrt(3). | das | 2007-12-15 | 3 | -1/+306 | |
| | ||||||
* | Remove some test instrumentation. (The Symbol.map changes broke it anyway.) | das | 2007-12-09 | 1 | -4/+0 | |
| | ||||||
* | Fixes to avoid overzealous constant folding. | das | 2007-12-09 | 1 | -13/+15 | |
| | ||||||
* | gcc 4 does some overzealous constant folding, and since it doesn't | das | 2007-12-09 | 1 | -1/+6 | |
| | | | | | support FENV_ACCESS, that was causing this test to fail. Use a volatile to avoid the constant folding. |