summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Typo: s/Exampes/Examplesblackend2004-10-251-1/+1
|
* For variables that are only checked with defined(), don't provideru2004-10-241-33/+33
| | | | | | | any fake value. While here, sort NO*'s in dictionary order to ease searching by a human being.
* For variables that are only checked with defined(), don't provideru2004-10-2440-41/+45
| | | | any fake value.
* Use errx() instead of fprintf()/exit() for conciseness.rwatson2004-10-231-65/+38
| | | | Suggested by: ru (some time ago)
* Use errx() instead of perror()/exit() for conciseness.rwatson2004-10-233-94/+52
| | | | Suggested by: ru (some time ago)
* Add a regression test for the alternate shell specification.ru2004-10-232-0/+20
|
* Use %zu to format size_t instead of %jd and an intmax_t cast.des2004-10-231-6/+5
| | | | Approved by: hamlet
* Stop amd64 warnings.phk2004-10-231-3/+4
|
* Add NO_BLUETOOTH and NO_AUTHPF variables. [1]blackend2004-10-221-1/+3
| | | | | | While I'm there use lowercase "yes" for consistency. Approved by: phk [1]
* Sort NO* variables.blackend2004-10-221-21/+21
| | | | Approved by: phk
* Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) requireblackend2004-10-211-1/+0
| | | | | | LIBPTHREAD. Approved by: phk
* Typo fix.keramida2004-10-181-1/+1
| | | | | PR: misc/72801 Submitted by: Hywel Mallett <circular@hmallett.co.uk>
* Fix a typo: s/kerncruft/kernelcruft/.maxim2004-10-171-1/+1
| | | | | PR: misc/72792 Submitted by: Hywel Mallett
* Fixed a typo.ru2004-10-171-1/+1
| | | | Submitted by: Pawel Worach
* Add a regression test for floating-point output in the Greek locale.keramida2004-10-131-0/+7
| | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago)
* Don't leave noschg files laying around in /tmppeter2004-10-111-0/+2
|
* Resort unprivileged uid with privileged socket after unprivileged uidrwatson2004-10-111-4/+6
| | | | | | | with privileged socket in test runs. If running unprivileged and instructed to use unprivileged sockets, don't try and use raw sockets.
* A number of improvements to the IP socket option API regression test:rwatson2004-10-111-248/+357
| | | | | | | | | | | | - Consistently use err/errx/warnx throughout, rather than using perror() and exit(). - Teach the tests how to better manage (and therefore test) privilege: in particular, how to create sockes with root credentials but exercise the privileges with non-root credentials, etc. - Teach the test suite to apply each of the non-IP_HDRINCL options across each of SOCK_DGRAM, SOCK_STREAM, and SOCK_RAW.
* Add regression tests for ilogb{,f,l}().stefanf2004-10-112-1/+83
|
* Add a simple exercise suite for IP-level socket options. The suiterwatson2004-10-112-0/+735
| | | | | | | | | | | | atempts to read and write various IP-level socket options as root and nobody, making sure the initial values are as expected, that they can be changed to valid values and take effect, etc. No attempt is made to check for the correct implementation of side effects (such as changes in packet headers) as yet. The IP options section is currently broken but will be fixed shortly. Not all multicast options are currently tested.
* Add a simple C-based TCP connection generator, which generates andrwatson2004-10-092-0/+160
| | | | | | closes the specified number of TCP connections sequentially and synchronously. Useful for trying to trigger races in the accept code.
* Add a version of netsend that uses the interval timer rather thanrwatson2004-10-082-0/+205
| | | | | | | | | explicit clock reads to set an overall duration to the send, and blasts rather than trying to clock output. The goal of netblast, unlike netsend, is to send as many UDP packets as possible; the cost is that there's no ability to control the rate, and there's less accuracy in the timing as the interval timer granularity is relatively low.
* Use int format string, not a long format string.rwatson2004-10-081-1/+1
|
* Only print progress statistics once per second.phk2004-10-081-9/+16
|
* add 80211watch programsam2004-10-051-1/+4
|
* simple program to watch 802.11 events through a routing socketsam2004-10-051-0/+381
|
* While calling perror() on send() failure was useful for debugging therwatson2004-09-302-3/+2
| | | | | if_em "wedging" problem, large numbers of perror() calls impacts send performance. As such, just count the error, don't print it.
* Add syscall_timing, a simple timing micro-benchmark for somerwatson2004-09-302-0/+195
| | | | | | characteristic system calls. I've been sending this to people for a while, and figured it would be more efficient to just put it in CVS.
* This is a small tool which will read an entire disk(partition) usingphk2004-09-283-0/+170
| | | | | | | | | | | | | | | | | | | | 1M blocks and optionally write the read data to a file or disk. If a read error happens, the 1M block gets put on the end of the worklist and will be retried with 64k blocksize. If a read error happens again, the 64k block gets put at the end of the worklist and will be retried with single sector reads. The program keeps trying until you stop it. You can refresh a disk: recoverdisk /dev/ad1 /dev/ad1 or salvage a floppy: recoverdisk /dev/fd0 myfloppy.flp
* add my script that helps me handle MFC's. It takes in a commit messagejmg2004-09-242-1/+31
| | | | | | | and generates the proper (hopefully) update -j lines + commit line to do the MFC... This has saved me a lot of time doing recent MFC's... You still should use diff to verify the changes before doing the commit..
* Print number of "waits" per second during transmission, not just waitsrwatson2004-09-241-0/+1
| | | | per call to send().
* Add mfc.des2004-09-241-0/+2
|
* A simple shell script to help MFC an entire directory to a branch where itdes2004-09-242-0/+48
| | | | does not already exist.
* Improve netsend timing logic in various ways:rwatson2004-09-211-13/+78
| | | | | | | | | | | | - Centralize time comparison. - Check clock resolution to make sure it has enough granularity to implement the desired wait interval. - Keep track of how many times the timing loop has to spin waiting for the next send time; report statistics. - Add commented out warning about deadlines being missed when spinning. - Improve statistics reporting generally to provide a more useful summary of sender condition after a run.
* Set default socket size for netreceive to 128k to reduce the chancesrwatson2004-09-211-1/+7
| | | | | of the buffer overflowing before netreceive can be scheduled to read the packets from the socket.
* Don't forget to check defined() before testing the value.des2004-09-201-0/+1
|
* Make this use a standard bsd.subdir.mk.ru2004-09-201-6/+2
|
* netsend uses an arbitrary maximum send rate to reject bogus arguments.rwatson2004-09-191-2/+4
| | | | | It was previously 1mpps; raise to 10mpps. While here, get the error message right.
* Recognize options with values. If an option is present in both GENERICdes2004-09-191-4/+20
| | | | | and the custom kernel, but its value has been modified, it will now be kept in its correct spot instead of being moved to the bottom.
* Modify accept_fd_leak regression test to generate "PASS" output, notrwatson2004-09-181-2/+3
| | | | | just "FAIL" output, in order to make it consistent with other tests in the regression test tree.
* Update path to c++ internals includes for the 3.4 location.peter2004-09-161-9/+2
| | | | | No longer use make -k since the libraries target should build now. Remove hacks for gnu/lib/libregex.
* Add libmagic to the explicit build-tools list.peter2004-09-161-0/+1
|
* Make libcrypto/libssh cross compilepeter2004-09-151-0/+1
|
* Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all"peter2004-09-151-1/+1
|
* Comment lines may have leading whitespace.des2004-09-151-1/+1
| | | | | PR: 71773 Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
* Add a very basic README for tcpstream.rwatson2004-09-131-0/+20
|
* Add tcpstream, a simple TCP stream generator that uses a pseudo-randomrwatson2004-09-132-0/+253
| | | | sequence to detect data corruption visible to an application.
* Add netrate (netreceive, netsend), a tool for generating (and sinking)rwatson2004-09-106-0/+398
| | | | | UDP packets of specified size at a fixed rate. I've been using this for netperf-related testing.
* Make the output more suitable for use in a frameset.des2004-09-081-24/+24
|
* new version of cryptotest (w/ only code from me)sam2004-09-072-1/+583
| | | | Reviewed by: imp
OpenPOWER on IntegriCloud