Commit Graph

718 Commits

Author SHA1 Message Date
blackend
c2793d19cd Typo: s/Exampes/Examples 2004-10-25 20:56:24 +00:00
ru
ebc7d51710 For variables that are only checked with defined(), don't provide
any fake value.

While here, sort NO*'s in dictionary order to ease searching by a
human being.
2004-10-24 15:52:04 +00:00
ru
1edab47bcf For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
rwatson
a7274b4cf7 Use errx() instead of fprintf()/exit() for conciseness.
Suggested by:	ru (some time ago)
2004-10-23 22:18:37 +00:00
rwatson
274eece8a9 Use errx() instead of perror()/exit() for conciseness.
Suggested by:	ru (some time ago)
2004-10-23 22:11:35 +00:00
ru
6961c4420f Add a regression test for the alternate shell specification. 2004-10-23 21:38:58 +00:00
des
d23b4f0178 Use %zu to format size_t instead of %jd and an intmax_t cast.
Approved by:	hamlet
2004-10-23 15:58:50 +00:00
phk
ed4397c216 Stop amd64 warnings. 2004-10-23 12:42:18 +00:00
blackend
1413656fd3 Add NO_BLUETOOTH and NO_AUTHPF variables. [1]
While I'm there use lowercase "yes" for consistency.

Approved by:	phk [1]
2004-10-22 08:49:54 +00:00
blackend
baa09623a6 Sort NO* variables.
Approved by:	phk
2004-10-22 08:45:34 +00:00
blackend
f994f9b6fe Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) require
LIBPTHREAD.

Approved by:	phk
2004-10-21 13:56:24 +00:00
keramida
92375f8590 Typo fix.
PR:		misc/72801
Submitted by:	Hywel Mallett <circular@hmallett.co.uk>
2004-10-18 00:45:28 +00:00
maxim
f5925e0777 Fix a typo: s/kerncruft/kernelcruft/.
PR:		misc/72792
Submitted by:	Hywel Mallett
2004-10-17 19:02:17 +00:00
ru
6056259453 Fixed a typo.
Submitted by:	Pawel Worach
2004-10-17 11:07:03 +00:00
keramida
7b2f3911bc Add a regression test for floating-point output in the Greek locale.
See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src

Reviewed by:	das (a while ago)
2004-10-13 22:32:12 +00:00
peter
cb224780b9 Don't leave noschg files laying around in /tmp 2004-10-11 22:14:47 +00:00
rwatson
b87992470a Resort unprivileged uid with privileged socket after unprivileged uid
with privileged socket in test runs.

If running unprivileged and instructed to use unprivileged sockets,
don't try and use raw sockets.
2004-10-11 19:12:40 +00:00
rwatson
bafbb5578f A number of improvements to the IP socket option API regression test:
- 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.
2004-10-11 19:03:53 +00:00
stefanf
6480c01089 Add regression tests for ilogb{,f,l}(). 2004-10-11 18:40:45 +00:00
rwatson
4beb2bc4bf Add a simple exercise suite for IP-level socket options. The suite
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.
2004-10-11 16:09:45 +00:00
rwatson
1577d89310 Add a simple C-based TCP connection generator, which generates and
closes the specified number of TCP connections sequentially and
synchronously.  Useful for trying to trigger races in the accept
code.
2004-10-09 20:58:28 +00:00
rwatson
ef56ffb711 Add a version of netsend that uses the interval timer rather than
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.
2004-10-08 19:23:11 +00:00
rwatson
c6ae6ddc95 Use int format string, not a long format string. 2004-10-08 12:28:28 +00:00
phk
e48f05815e Only print progress statistics once per second. 2004-10-08 10:50:40 +00:00
sam
9f8a6c4921 add 80211watch program 2004-10-05 19:53:32 +00:00
sam
947559f4c4 simple program to watch 802.11 events through a routing socket 2004-10-05 19:51:34 +00:00
rwatson
fb62b3b2a9 While calling perror() on send() failure was useful for debugging the
if_em "wedging" problem, large numbers of perror() calls impacts send
performance.  As such, just count the error, don't print it.
2004-09-30 06:17:26 +00:00
rwatson
107d53d6c7 Add syscall_timing, a simple timing micro-benchmark for some
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.
2004-09-30 05:25:00 +00:00
phk
c3755d96e3 This is a small tool which will read an entire disk(partition) using
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
2004-09-28 22:00:01 +00:00
jmg
eca77556fa add my script that helps me handle MFC's. It takes in a commit message
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..
2004-09-24 20:06:49 +00:00
rwatson
840fd01d64 Print number of "waits" per second during transmission, not just waits
per call to send().
2004-09-24 18:02:31 +00:00
des
568163f0bf Add mfc. 2004-09-24 15:25:35 +00:00
des
07d69e2434 A simple shell script to help MFC an entire directory to a branch where it
does not already exist.
2004-09-24 15:24:12 +00:00
rwatson
616c631163 Improve netsend timing logic in various ways:
- 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.
2004-09-21 20:21:40 +00:00
rwatson
8b269850e3 Set default socket size for netreceive to 128k to reduce the chances
of the buffer overflowing before netreceive can be scheduled to read
the packets from the socket.
2004-09-21 03:10:28 +00:00
des
d72613590f Don't forget to check defined() before testing the value. 2004-09-20 15:22:57 +00:00
ru
0bf765ee6d Make this use a standard bsd.subdir.mk. 2004-09-20 14:04:00 +00:00
rwatson
340cf04497 netsend uses an arbitrary maximum send rate to reject bogus arguments.
It was previously 1mpps; raise to 10mpps.  While here, get the error
message right.
2004-09-19 22:57:21 +00:00
des
6c41ab2381 Recognize options with values. If an option is present in both GENERIC
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.
2004-09-19 21:21:26 +00:00
rwatson
37879a2df7 Modify accept_fd_leak regression test to generate "PASS" output, not
just "FAIL" output, in order to make it consistent with other tests in
the regression test tree.
2004-09-18 13:06:00 +00:00
peter
2b83bf6cfb Update path to c++ internals includes for the 3.4 location.
No longer use make -k since the libraries target should build now.
Remove hacks for gnu/lib/libregex.
2004-09-16 01:41:11 +00:00
peter
44bb65fc5d Add libmagic to the explicit build-tools list. 2004-09-16 00:22:59 +00:00
peter
081a33b6dd Make libcrypto/libssh cross compile 2004-09-15 23:15:53 +00:00
peter
27d5b02271 Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all" 2004-09-15 23:01:28 +00:00
des
5420294f63 Comment lines may have leading whitespace.
PR:		71773
Submitted by:	Antoine Brodin <antoine.brodin@laposte.net>
2004-09-15 21:10:46 +00:00
rwatson
14fd534af6 Add a very basic README for tcpstream. 2004-09-13 16:53:40 +00:00
rwatson
bc1b66bc49 Add tcpstream, a simple TCP stream generator that uses a pseudo-random
sequence to detect data corruption visible to an application.
2004-09-13 03:17:22 +00:00
rwatson
00d26065f8 Add netrate (netreceive, netsend), a tool for generating (and sinking)
UDP packets of specified size at a fixed rate.  I've been using this for
netperf-related testing.
2004-09-10 19:09:50 +00:00
des
59c4137a71 Make the output more suitable for use in a frameset. 2004-09-08 16:04:38 +00:00
sam
9090d42133 new version of cryptotest (w/ only code from me)
Reviewed by:	imp
2004-09-07 18:35:00 +00:00