summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Don't run tests that assume <= 64-bit precision on machines with quaddas2008-03-021-8/+20
| | | | precision.
* Remove a dereference. It was unintended and a no-op.scf2008-03-011-20/+30
| | | | | | | | | | Use the correct value of errno. Although the errno value passed into printf() follows the *env() call, it is not guaranteed to be the errno from that call. When I wrote the regression tester, the environment I used did pass the errno from the call. Consolidate the print for the return code and errno into a function in the process of fixing this. Approved by: wes (mentor)
* Add files to remove when MK_GCOV, MK_IPX or MK_NCP are defined.antoine2008-02-291-9/+57
| | | | | | | | | | | | Note: it may be a good idea to deduce obsolete usr/lib32/ files from obsolete lib/ and usr/lib/ files. PR: 120492 PR: 121118 PR: 121121 Submitted by: KAMIYA Satosi, Richard Tector Approved by: rwatson (mentor) MFC after: 1 month
* Add a regression test for cd.c's revision 1.35.stefanf2008-02-241-0/+17
|
* getopt(3) returns -1, not EOF.ru2008-02-191-1/+1
|
* Some basic regression tests for {sin,cos,tan}{,f,l}().das2008-02-183-1/+293
|
* There are 3 tests here, not 2.das2008-02-171-1/+1
|
* Add open_to_operation, a security regression test that opens files withrwatson2008-02-142-0/+1263
| | | | | | | | | | various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile.
* mutex_islocked_np -> mutex_isowned_npdes2008-02-062-9/+9
|
* This is a regression test to verify the proper behavior of IP ID generationsilby2008-02-061-0/+76
| | | | | code. It will push 200000 packets, then report back what the min and max periods it saw for different IDs were.
* Add missing includes and correct argument to sysctlbynamematteo2008-02-052-1/+4
| | | | | PR: misc/120274 MFC after: 1 week
* After careful consideration (and a brief discussion with attilio@), changedes2008-02-041-2/+2
| | | | | | | | | the semantics of pthread_mutex_islocked_np() to return true if and only if the mutex is held by the current thread. Obviously, change the regression test to match. MFC after: 2 weeks
* Add a regression test for pthread_mutex_islocked_np().des2008-02-032-0/+85
| | | | MFC after: 2 weeks
* Add unix_sorflush, a regression test for the following scenario:rwatson2008-01-302-0/+106
| | | | | | | | | | | | - Process (a) is blocked in read on a socket waiting on data. - Process (b) is blocked in shutdown() on a socket waiting on (a). - Process (c) delivers a signal to (b) interrupting its wait. When the signal is delivered, the kernel panics as sblock() fails in sorflush(). Even if it didn't panic, shutdown() would block potentially indefinitely waiting for recv() to succeeded. Fixes to follow. Reported by: Jos Backus <jos at catnook dot com>
* Update the timestamp regexps in syncstamp() and monostamp() for > 99999jhb2008-01-251-2/+2
| | | | | traces where there isn't any leading whitespace before the record number in the ktrdump output.
* Remove 5.x and 6.x cruft - source upgrades to RELENG_8 from versions priorobrien2008-01-211-5/+0
| | | | to RELENG_7 are not supported.
* Remove files conditional on the obsolete MK_FORTRAN knob. They are alreadybrueffer2008-01-181-12/+0
| | | | | | | | listed in ObsoleteFiles.inc anyway. Reported by: David Wolfskill Approved by: rwatson (mentor) MFC after: 3 days
* expm1(-big) generates an inexact exception but not underflow.das2008-01-181-1/+1
|
* Add some regression tests for libm's exponential functions. Thesedas2008-01-183-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.
* Eliminate warnings by adding headers.emaste2008-01-171-0/+2
|
* Add a set of regression tests for the POSIX shm API (shm_open(2) andjhb2008-01-165-0/+828
| | | | shm_unlink(2)).
* WITHOUT_FORTRAN was removed some time ago. Regen src.conf.5.brueffer2008-01-151-4/+0
| | | | | | PR: 119562 Submitted by: Daniel Rucci <dan@rucci.org> MFC after: 3 days
* Tests for lrintl() and llrintl(). I didn't add anything speciallydas2008-01-141-5/+22
| | | | | tailored for the long double format; instead, I just modified the existing tests to test lrintl() and llrintl() as well.
* * Remove KTR_CPUMASK, it is not correct to set thiskris2008-01-131-2/+3
| | | | | | | * Explain why 32768 entries is usually not enough * Increase the scaling ratio to 10 to deal with 32-bit overflows that can occur in calculating the canvas offsets
* Attach the tr(1) regression tests to the build.keramida2008-01-131-1/+1
| | | | Approved by: das, dds
* Add a new set of regression tests, for the tr(1) utility.keramida2008-01-1317-0/+97
| | | | Approved by: das, dds
* - Add support for using swap backed md(4) devices for building thesimon2008-01-121-6/+33
| | | | | | | | | | | | | | | | | | | | | disk image. In some cases this can be a significant speed-up, if most of the image can be kept in RAM while being populated. On the 2GB image I'm currently working with, the build time, excluding buildworld/buildkernel, goes from ~17 minutes to ~6 minutes. This is not enabled by default, as it might have the opposite effect on low-memory systems. - During the generation of the image file be a bit more verbose in the log file so it is possible to see what's being done. - Add a NANO_DISKIMGDIR variable which makes it possibly to place the final images somewhere other than ${MAKEOBJDIRPREFIX}. The default value for NANO_DISKIMGDIR is $MAKEOBJDIRPREFIX. Go for it: phk
* Add regression tests for UNIX domain socket garbage collection. Should berwatson2007-12-312-0/+770
| | | | | run from single-user mode, as they look at global open file and inflight descriptor counts to check for leaks.
* - Fix calculation of data slice size when NANO_DATASIZE=-1.simon2007-12-271-2/+2
| | | | | | | | | | | | | | Due to a typo, setting NANO_DATASIZE=-1 resulted in the data slice being the same size as entire image instead of the size of the remaining space on the image. - Fix detection of overcommit of the slices. This fix mainly result in a nicer error than when newfs etc. tries to write beyond the end of the disk image. MFC after: 2 weeks X-MFC after: RELENG_7 is open again
* Ministat was repocopied to src/usr.bin/ministatphk2007-12-205-725/+0
|
* Update the number of reported tests to keep prove(1) happy.dds2007-12-191-1/+1
|
* Correct the "move file from directory to existing directory" test fordds2007-12-191-1/+1
| | | | cross-device moves.
* Portability improvements to investigate behavior of other OSs.dds2007-12-181-4/+4
| | | | Now works under Solaris and Linux.
* Add more tests. All rename(2)-based tests now succeed.dds2007-12-181-1/+78
| | | | The performance of the cross-device equivalents is under investigation.
* Fix an amusing typo that has prevented this from compiling since 2004.das2007-12-161-7/+7
|
* Don't try the long double tests on i386. Our reduced precisiondas2007-12-161-1/+1
| | | | can cause them to fail.
* Remove another Alpha remnant.das2007-12-161-1/+0
|
* Regression tests for nan{,f,l}().das2007-12-163-1/+133
|
* Verify that the moved source is no longer there.dds2007-12-161-0/+26
|
* Regression tests for upcoming makeup of mv.dds2007-12-163-0/+203
| | | | Case 20 corresponds to PR bin/118367.
* Make the reported number of tests match their actual number.dds2007-12-161-1/+1
| | | | This fixes the reporting under prove(1)
* cd to the correct directory so that the tests can be run from prove(1)dds2007-12-161-0/+1
|
* Regression tests for csqrt(3).das2007-12-153-1/+306
|
* use ATH environment variable (when set) as the default interface namesam2007-12-132-2/+12
|
* Some overdue tlc:sam2007-12-133-164/+191
| | | | | | | | | | o push include paths to the Makefile o use the AFTER trick to simplify adding new items o prepare stat blocks for additional data o align values for verbose output o fillin some missing stats MFC after: 1 week
* Fix markup nits.ru2007-12-125-5/+15
|
* Option depencies are (again) tracked automatically.ru2007-12-121-5/+0
|
* - Fix setting of MK_GSSAPI option by bsd.own.mk; its value shouldru2007-12-123-8/+17
| | | | | | | | | | | default to the value of MK_KERBEROS unless set explicitly by WITH_GSSAPI/WITHOUT_GSSAPI. (This introduces another type of MK_* variables which itself is questionable.) - Teach tools/build/options/makeman script that generates the src.conf(5) manpage about the new type of MK_* variables. - Fix broken logic in lib/Makefile.
* Hide the building and installation of libgssapi behind thedougb2007-12-102-0/+9
| | | | | | | | | | | | | | | | | | WITHOUT_KERBEROS knob. While GSS can be used for other things some third party software (most notably ports/x11/kdelibs3) takes the presence of libgssapi as an indication that kerberos is available, and attempts to link with the kerberos libs. If they are not available, the build will fail. Because you might want to use GSS but not kerberos, add a knob to re-enable it if WITHOUT_KERBEROS is present. Document the new knob, and the new behavior of WITHOUT_KERBEROS. Not objected and/or generally agreed to by: freebsd-arch Problem discussed/analyzed in: PR: ports/116484
* Add a reasonable-sounding description of the WITHOUT_INSTALLLIB knob.dougb2007-12-091-0/+5
|
OpenPOWER on IntegriCloud