summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Updated the test to handle multiple sinks. The sinks cut theirgnn2008-04-243-40/+148
| | | | | | | | | | | transmissions by the number of them running so that they do not overwhelm the source. Added a simple shell script to kick off sinks on multiple hosts as well as a source on the host where the shell script is run. The script also collects the output of all the sinks and the source into files named for the host on which the tests are run. A date is appended to each output file to make it unique per run.
* Add four utility functions related to struct grp processing modeled in-partscf2008-04-233-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
* Differentiate in the tests against getenv() between an empty string and ascf2008-04-232-12/+15
| | | | | NULL by having the test program return *NULL* for NULL's (no existing variable) instead of an empty string (variable with empty value).
* Add a small script that will examine all files which exist on /cfg andphk2008-04-211-0/+42
| | | | | | if they are different in /etc, copy them to /cfg. Submitted by: mat
* test scripts for vaps and other 802.11 featuressam2008-04-2020-0/+755
| | | | Supported by: Hobnob and Marvell
* add dwds test appsam2008-04-203-1/+359
| | | | | Supported by: Hobnob Obtained from: Atheros (earlier version)
* update for vapssam2008-04-202-11/+121
| | | | Supported by: Hobnob
* Updates for changes in the way printf() handles hex floating pointdas2008-04-121-5/+5
| | | | numbers.
* Correct typo.ceri2008-04-051-1/+1
|
* Add some tests for fma(), fmaf(), and fmal().das2008-04-033-1/+424
|
* Add a manual page and a Makefile.gnn2008-04-034-5/+220
| | | | | Add code to reflect packets back from the sink so that we can measure round trip at the source.
* Test remainderl() and remquol() as well.das2008-03-301-4/+34
|
* Add some minimal tests for csqrtl().das2008-03-301-59/+88
|
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-292-9/+0
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* Fix the __FreeBSD_version check.dfr2008-03-261-1/+1
|
* Add some regression tests for posix record locks.dfr2008-03-262-0/+1356
|
* Don't remove usr/include/fs/nwfs and usr/include/netncp, as they are alwaysantoine2008-03-241-2/+2
| | | | | | | | recreated during installworld (they are in BSD.include.dist). Reported by: Pawel Worach Approved by: rwatson (mentor) X-MFC: with revision 1.13
* sync w/ p4: minor cleanups to improve msgssam2008-03-221-15/+9
|
* Add a test case for options.c revision 1.26.stefanf2008-03-222-0/+15
|
* Alert properly when we have stale mounts left after interuptingremko2008-03-201-6/+14
| | | | | | | | | a tinybsd build. If we do not do this, we can accidentally remove critical files from directories like /lib (if mounted). PR: misc/121763 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days
* "track" is a script I've used for ages to track the progress of a build.des2008-03-203-0/+57
| | | | | Unlike whereintheworld, it continuously monitors the log file; it also produses less verbose output.
* Add the correct license.gnn2008-03-191-1/+22
|
* A multicast test. The mctest program acts as both a source and a sinkgnn2008-03-192-0/+373
| | | | | | | for multicast packets. Parameters for the interface, packet size, number of packets, and interpacket gap may be given on the command line. The sink records how many packets were missed, and at what time each packet arrived.
* Vim function to style(9).obrien2008-03-131-0/+68
| | | | | | Issue ':call FreeBSD_Style()' while editing a file. Submitted by: scf
* Introduce a new F_DUP2FD command to fcntl(2), for compatibility withantoine2008-03-081-2/+71
| | | | | | | | | | | | Solaris and AIX. fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent. Document it. Add some regression tests (identical to the dup2(2) regression tests). PR: 120233 Submitted by: Jukka Ukkonen Approved by: rwaston (mentor) MFC after: 1 month
* Add some checks for amd64 target around usr/lib32 libraries, missed inantoine2008-03-081-0/+4
| | | | | | | previous commit. Approved by: rwatson (mentor) X-MFC: with revision 1.13
* Improve handling of the tinybsd application wrt ports. Ports thatremko2008-03-081-53/+41
| | | | | | | | | have dependencies or need to install a new user/group, are not problematic anymore. PR: 121367 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days
* 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.
OpenPOWER on IntegriCloud