aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-2440-41/+45
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Use errx() instead of fprintf()/exit() for conciseness.Robert Watson2004-10-231-65/+38
| | | | | | | Suggested by: ru (some time ago) Notes: svn path=/head/; revision=136844
* Use errx() instead of perror()/exit() for conciseness.Robert Watson2004-10-233-94/+52
| | | | | | | Suggested by: ru (some time ago) Notes: svn path=/head/; revision=136843
* Add a regression test for the alternate shell specification.Ruslan Ermilov2004-10-232-0/+20
| | | | Notes: svn path=/head/; revision=136842
* Use %zu to format size_t instead of %jd and an intmax_t cast.Dag-Erling Smørgrav2004-10-231-6/+5
| | | | | | | Approved by: hamlet Notes: svn path=/head/; revision=136815
* Stop amd64 warnings.Poul-Henning Kamp2004-10-231-3/+4
| | | | Notes: svn path=/head/; revision=136808
* Add NO_BLUETOOTH and NO_AUTHPF variables. [1]Marc Fonvieille2004-10-221-1/+3
| | | | | | | | | While I'm there use lowercase "yes" for consistency. Approved by: phk [1] Notes: svn path=/head/; revision=136768
* Sort NO* variables.Marc Fonvieille2004-10-221-21/+21
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=136766
* Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) requireMarc Fonvieille2004-10-211-1/+0
| | | | | | | | | LIBPTHREAD. Approved by: phk Notes: svn path=/head/; revision=136748
* Typo fix.Giorgos Keramidas2004-10-181-1/+1
| | | | | | | | PR: misc/72801 Submitted by: Hywel Mallett <circular@hmallett.co.uk> Notes: svn path=/head/; revision=136639
* Fix a typo: s/kerncruft/kernelcruft/.Maxim Konovalov2004-10-171-1/+1
| | | | | | | | PR: misc/72792 Submitted by: Hywel Mallett Notes: svn path=/head/; revision=136618
* Fixed a typo.Ruslan Ermilov2004-10-171-1/+1
| | | | | | | Submitted by: Pawel Worach Notes: svn path=/head/; revision=136613
* Add a regression test for floating-point output in the Greek locale.Giorgos Keramidas2004-10-131-0/+7
| | | | | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago) Notes: svn path=/head/; revision=136497
* Don't leave noschg files laying around in /tmpPeter Wemm2004-10-111-0/+2
| | | | Notes: svn path=/head/; revision=136405
* Resort unprivileged uid with privileged socket after unprivileged uidRobert Watson2004-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. Notes: svn path=/head/; revision=136391
* A number of improvements to the IP socket option API regression test:Robert Watson2004-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. Notes: svn path=/head/; revision=136390
* Add regression tests for ilogb{,f,l}().Stefan Farfeleder2004-10-112-1/+83
| | | | Notes: svn path=/head/; revision=136387
* Add a simple exercise suite for IP-level socket options. The suiteRobert Watson2004-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. Notes: svn path=/head/; revision=136384
* Add a simple C-based TCP connection generator, which generates andRobert Watson2004-10-092-0/+160
| | | | | | | | | closes the specified number of TCP connections sequentially and synchronously. Useful for trying to trigger races in the accept code. Notes: svn path=/head/; revision=136337
* Add a version of netsend that uses the interval timer rather thanRobert Watson2004-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. Notes: svn path=/head/; revision=136274
* Use int format string, not a long format string.Robert Watson2004-10-081-1/+1
| | | | Notes: svn path=/head/; revision=136259
* Only print progress statistics once per second.Poul-Henning Kamp2004-10-081-9/+16
| | | | Notes: svn path=/head/; revision=136257
* add 80211watch programSam Leffler2004-10-051-1/+4
| | | | Notes: svn path=/head/; revision=136157
* simple program to watch 802.11 events through a routing socketSam Leffler2004-10-051-0/+381
| | | | Notes: svn path=/head/; revision=136156
* While calling perror() on send() failure was useful for debugging theRobert Watson2004-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. Notes: svn path=/head/; revision=135954
* Add syscall_timing, a simple timing micro-benchmark for someRobert Watson2004-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. Notes: svn path=/head/; revision=135952
* This is a small tool which will read an entire disk(partition) usingPoul-Henning Kamp2004-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 Notes: svn path=/head/; revision=135911
* add my script that helps me handle MFC's. It takes in a commit messageJohn-Mark Gurney2004-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.. Notes: svn path=/head/; revision=135760
* Print number of "waits" per second during transmission, not just waitsRobert Watson2004-09-241-0/+1
| | | | | | | per call to send(). Notes: svn path=/head/; revision=135750
* Add mfc.Dag-Erling Smørgrav2004-09-241-0/+2
| | | | Notes: svn path=/head/; revision=135744
* A simple shell script to help MFC an entire directory to a branch where itDag-Erling Smørgrav2004-09-242-0/+48
| | | | | | | does not already exist. Notes: svn path=/head/; revision=135743
* Improve netsend timing logic in various ways:Robert Watson2004-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. Notes: svn path=/head/; revision=135551
* Set default socket size for netreceive to 128k to reduce the chancesRobert Watson2004-09-211-1/+7
| | | | | | | | of the buffer overflowing before netreceive can be scheduled to read the packets from the socket. Notes: svn path=/head/; revision=135536
* Don't forget to check defined() before testing the value.Dag-Erling Smørgrav2004-09-201-0/+1
| | | | Notes: svn path=/head/; revision=135520
* Make this use a standard bsd.subdir.mk.Ruslan Ermilov2004-09-201-6/+2
| | | | Notes: svn path=/head/; revision=135518
* netsend uses an arbitrary maximum send rate to reject bogus arguments.Robert Watson2004-09-191-2/+4
| | | | | | | | It was previously 1mpps; raise to 10mpps. While here, get the error message right. Notes: svn path=/head/; revision=135485
* Recognize options with values. If an option is present in both GENERICDag-Erling Smørgrav2004-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. Notes: svn path=/head/; revision=135480
* Modify accept_fd_leak regression test to generate "PASS" output, notRobert Watson2004-09-181-2/+3
| | | | | | | | just "FAIL" output, in order to make it consistent with other tests in the regression test tree. Notes: svn path=/head/; revision=135425
* Update path to c++ internals includes for the 3.4 location.Peter Wemm2004-09-161-9/+2
| | | | | | | | No longer use make -k since the libraries target should build now. Remove hacks for gnu/lib/libregex. Notes: svn path=/head/; revision=135287
* Add libmagic to the explicit build-tools list.Peter Wemm2004-09-161-0/+1
| | | | Notes: svn path=/head/; revision=135285
* Make libcrypto/libssh cross compilePeter Wemm2004-09-151-0/+1
| | | | Notes: svn path=/head/; revision=135282
* Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all"Peter Wemm2004-09-151-1/+1
| | | | Notes: svn path=/head/; revision=135281
* Comment lines may have leading whitespace.Dag-Erling Smørgrav2004-09-151-1/+1
| | | | | | | | PR: 71773 Submitted by: Antoine Brodin <antoine.brodin@laposte.net> Notes: svn path=/head/; revision=135278
* Add a very basic README for tcpstream.Robert Watson2004-09-131-0/+20
| | | | Notes: svn path=/head/; revision=135157
* Add tcpstream, a simple TCP stream generator that uses a pseudo-randomRobert Watson2004-09-132-0/+253
| | | | | | | sequence to detect data corruption visible to an application. Notes: svn path=/head/; revision=135132
* Add netrate (netreceive, netsend), a tool for generating (and sinking)Robert Watson2004-09-106-0/+398
| | | | | | | | UDP packets of specified size at a fixed rate. I've been using this for netperf-related testing. Notes: svn path=/head/; revision=135042
* Make the output more suitable for use in a frameset.Dag-Erling Smørgrav2004-09-081-24/+24
| | | | Notes: svn path=/head/; revision=134956
* new version of cryptotest (w/ only code from me)Sam Leffler2004-09-072-1/+583
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=134911
* Add a regression test for <tgmath.h>.Stefan Farfeleder2004-09-042-0/+624
| | | | Notes: svn path=/head/; revision=134758
* Join the effort in simplifying this makefile. ;)Ruslan Ermilov2004-09-031-3/+1
| | | | Notes: svn path=/head/; revision=134681