Pawel Jakub Dawidek
bc9d46334d
Add description of all available options.
2004-11-06 17:19:55 +00:00
Pawel Jakub Dawidek
d93c939aa9
Allow to write random data while testing RAID device, so we can also
...
test data integrity.
2004-11-06 17:10:24 +00:00
Poul-Henning Kamp
7562eaabc0
Remove vinum bits.
2004-11-04 13:34:06 +00:00
Poul-Henning Kamp
0f7d7a368a
Remove references to NO_VINUM
2004-11-04 12:57:40 +00:00
Robert Watson
c6eea89879
Add a small regression test that opens a TCP socket, listens on it,
...
performs a non-blocking connect from another socket, and then closes
the listen socket rather than accepting. This is intended to
exercise the close path in which connections are aborted due to a
close on the listen socket while the connection is in the listen
queue.
2004-11-02 17:59:12 +00:00
Marc Fonvieille
b0258eb606
Typo: s/Exampes/Examples
2004-10-25 20:56:24 +00:00
Ruslan Ermilov
b1bffc1632
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
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Robert Watson
09745181fd
Use errx() instead of fprintf()/exit() for conciseness.
...
Suggested by: ru (some time ago)
2004-10-23 22:18:37 +00:00
Robert Watson
a09c60ffeb
Use errx() instead of perror()/exit() for conciseness.
...
Suggested by: ru (some time ago)
2004-10-23 22:11:35 +00:00
Ruslan Ermilov
9a5cf32635
Add a regression test for the alternate shell specification.
2004-10-23 21:38:58 +00:00
Dag-Erling Smørgrav
dadba0d1a1
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
Poul-Henning Kamp
091aa0964b
Stop amd64 warnings.
2004-10-23 12:42:18 +00:00
Marc Fonvieille
0d0e1f8897
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
Marc Fonvieille
c615d4bda1
Sort NO* variables.
...
Approved by: phk
2004-10-22 08:45:34 +00:00
Marc Fonvieille
7fb04a6a8d
Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) require
...
LIBPTHREAD.
Approved by: phk
2004-10-21 13:56:24 +00:00
Giorgos Keramidas
ca1ccb195b
Typo fix.
...
PR: misc/72801
Submitted by: Hywel Mallett <circular@hmallett.co.uk>
2004-10-18 00:45:28 +00:00
Maxim Konovalov
6f0027bcbf
Fix a typo: s/kerncruft/kernelcruft/.
...
PR: misc/72792
Submitted by: Hywel Mallett
2004-10-17 19:02:17 +00:00
Ruslan Ermilov
30f4920b76
Fixed a typo.
...
Submitted by: Pawel Worach
2004-10-17 11:07:03 +00:00
Giorgos Keramidas
5b9c5efc57
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 Wemm
6d839f5d3e
Don't leave noschg files laying around in /tmp
2004-10-11 22:14:47 +00:00
Robert Watson
a1626faabe
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
Robert Watson
cdeeed7a38
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
Stefan Farfeleder
c904266eac
Add regression tests for ilogb{,f,l}().
2004-10-11 18:40:45 +00:00
Robert Watson
f1f6501da8
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
Robert Watson
6a671583a4
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
Robert Watson
182cebd7ec
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
Robert Watson
b626480682
Use int format string, not a long format string.
2004-10-08 12:28:28 +00:00
Poul-Henning Kamp
1f6ac570e4
Only print progress statistics once per second.
2004-10-08 10:50:40 +00:00
Sam Leffler
61b14f328b
add 80211watch program
2004-10-05 19:53:32 +00:00
Sam Leffler
a6229e4ee7
simple program to watch 802.11 events through a routing socket
2004-10-05 19:51:34 +00:00
Robert Watson
fbcd15008a
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
Robert Watson
35f6d35141
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
Poul-Henning Kamp
39d969aedf
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
John-Mark Gurney
c33b0bc0b8
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
Robert Watson
706cd483cd
Print number of "waits" per second during transmission, not just waits
...
per call to send().
2004-09-24 18:02:31 +00:00
Dag-Erling Smørgrav
2c289a3f33
Add mfc.
2004-09-24 15:25:35 +00:00
Dag-Erling Smørgrav
2f55f21790
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
Robert Watson
aa1cb3e183
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
Robert Watson
98da5dfbb2
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
Dag-Erling Smørgrav
ca3f021316
Don't forget to check defined() before testing the value.
2004-09-20 15:22:57 +00:00
Ruslan Ermilov
8799ba98cb
Make this use a standard bsd.subdir.mk.
2004-09-20 14:04:00 +00:00
Robert Watson
2645c3357d
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
Dag-Erling Smørgrav
f02ab0ca9a
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
Robert Watson
54516c29e8
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 Wemm
4e1c1fa28b
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 Wemm
7eb8f6f303
Add libmagic to the explicit build-tools list.
2004-09-16 00:22:59 +00:00
Peter Wemm
fad9d21472
Make libcrypto/libssh cross compile
2004-09-15 23:15:53 +00:00
Peter Wemm
1a3cfcce6b
Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all"
2004-09-15 23:01:28 +00:00
Dag-Erling Smørgrav
4325574db2
Comment lines may have leading whitespace.
...
PR: 71773
Submitted by: Antoine Brodin <antoine.brodin@laposte.net>
2004-09-15 21:10:46 +00:00
Robert Watson
e8929330e7
Add a very basic README for tcpstream.
2004-09-13 16:53:40 +00:00
Robert Watson
cb5e18f34e
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
Robert Watson
2d832be085
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
Dag-Erling Smørgrav
0bf3c980ab
Make the output more suitable for use in a frameset.
2004-09-08 16:04:38 +00:00
Sam Leffler
eab5fb7078
new version of cryptotest (w/ only code from me)
...
Reviewed by: imp
2004-09-07 18:35:00 +00:00
Stefan Farfeleder
27fdb57eab
Add a regression test for <tgmath.h>.
2004-09-04 11:34:53 +00:00
Ruslan Ermilov
751d4065e6
Join the effort in simplifying this makefile. ;)
2004-09-03 06:18:52 +00:00
Robert Watson
accbe49470
Pass O_NONBLOCK directly to fcntl() rather than the pointer to an int
...
holding the value O_NONBLOCK. This worked previously because I was
lucky.
2004-09-02 21:41:57 +00:00
Robert Watson
27b37d5cf2
Don't override the rule used to build a binary by providing our own
...
compiler line.
2004-09-02 21:37:50 +00:00
Dag-Erling Smørgrav
4d7bee151a
Add -c option to preserve comments from GENERIC in the output.
2004-08-29 19:45:50 +00:00
Dag-Erling Smørgrav
90fcc4b33b
Add genericize, a Perl script that converts a kernel config into something
...
more easily diffable against GENERIC.
2004-08-28 13:36:16 +00:00
David E. O'Brien
a7b2332aa9
Update for latest make(1) changes.
...
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-08-24 17:33:42 +00:00
Robert Watson
cf03a9be9c
Make sure to properly initialize 'size' to sizeof(sin) before passing
...
it into accept(). Depending on the initial value in memory, it is
otherwise possible to get EINVAL.
2004-08-24 04:59:26 +00:00
Robert Watson
62967fb0bb
Add a basic kqueue + UNIX domain socket pair regression test to do some
...
elementary exercising of kqueues on datagram and stream sockets. Note
that the datagram write kqueue case is left untested due to potentially
confusing behavior for the developer (me) that might require attention.
2004-08-24 04:02:41 +00:00
Pawel Jakub Dawidek
1c11fbbb6e
Regression tests for 'verify reading' algorithm.
2004-08-22 16:26:09 +00:00
Thomas Quinot
66189a39ec
Fix positional parameter reference to ${10}.
...
Fix target location for generation of fstab.
PR: bin/70795
2004-08-21 20:21:49 +00:00
Pawel Jakub Dawidek
3e90f289df
Add regression test for the new "round-robin reading" feature.
2004-08-21 18:14:55 +00:00
Pawel Jakub Dawidek
91fa7ba605
Add description of raidtest tool.
2004-08-20 16:56:43 +00:00
Pawel Jakub Dawidek
c14401c00f
- fflush() standard output before fork()ing.
...
- Remove redundant 'break'.
2004-08-20 12:49:09 +00:00
Pawel Jakub Dawidek
e19f32a461
Add the raidtest tool, which can be used for performance tests of storage devices.
...
It uses random offsets, random requests size and random operation type (READ or
WRITE). It also allows to run many processes to send I/O requests in parallel.
2004-08-20 12:02:34 +00:00
Dag-Erling Smørgrav
c59826b3fc
Remove a couple of warnings and tweak an error message.
2004-08-20 10:23:22 +00:00
Dag-Erling Smørgrav
f95052e5e6
Copy open_locked() from tinderbox.pl and use it to optionally acquire a
...
lock file upon startup. If this fails, tbmaster will simply terminate.
2004-08-20 08:10:30 +00:00
Dag-Erling Smørgrav
6e3c9eb30d
Print the patch file name in the warning message for missing patch files.
2004-08-19 07:31:10 +00:00
Dag-Erling Smørgrav
6734c49167
Clean up, add update_releng_[45].rc.
2004-08-19 07:28:30 +00:00
Dag-Erling Smørgrav
c6b2d86aad
RELENG_5 is now available.
2004-08-19 07:27:42 +00:00
Dag-Erling Smørgrav
90edbfb22e
Branches of interest are RELENG_4_{8,9,10}.
2004-08-19 07:27:21 +00:00
Dag-Erling Smørgrav
838f465d69
Comment out the timeout setting; it doesn't work properly.
2004-08-19 07:26:31 +00:00
Thomas Quinot
b78f845dec
Example configuration files for customize.sh.
...
Approved by: re (scottl)
2004-08-16 22:55:51 +00:00
Thomas Quinot
bbd7f0bea4
Add documentation of the newly-added user-configurable Makefile knobs.
...
Approved by: re (scottl)
2004-08-16 22:52:40 +00:00
Thomas Quinot
f41d93ced5
Add example customization script, to be used through CUSTOMIZE Makefile knob.
...
Approved by: re (scottl)
2004-08-16 22:46:58 +00:00
Thomas Quinot
87218f8807
Properly identify the root filesystem to be used in /etc/fstab in each
...
slice of the flash card, ensuring that the loader will mount the root fs
from the booted slice by default.
Allow usage of FFS volume labels instead of hardcoded device names through
WITH_GEOM_VOL Makefile knob.
Approved by: re (scottl)
2004-08-16 22:41:58 +00:00
Doug Rabson
c37420b0d5
Remove some debug cruft from the Makefiles and make them ${.OBJDIR}
...
friendly.
2004-08-16 09:35:49 +00:00
Pawel Jakub Dawidek
4d5580d64d
Add regression tests for GEOM_RAID3.
2004-08-16 09:09:23 +00:00
Ruslan Ermilov
5f90425815
Replaced COPTS by equivalent CFLAGS.
2004-08-13 14:21:49 +00:00
Max Khon
69bcab915c
Regen.
2004-08-13 09:56:22 +00:00
Max Khon
ee91bec14f
Regression test for geom_uzip.
2004-08-13 09:53:52 +00:00
Hartmut Brandt
b5bb945eef
Add a regression test for the ATM call control stuff.
2004-08-13 09:27:21 +00:00
Hartmut Brandt
215431deb0
Now that make more correctly handles variable assignments
...
in .MAKEFLAGS targets enable the regression test for this.
2004-08-12 19:14:10 +00:00
Diomidis Spinellis
30fd73fb81
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived
...
software (original contributor).
Reviewed by: imp
2004-08-09 15:29:41 +00:00
Thomas Quinot
a88c11a0c9
Include the nanoBSD make.conf in the top-level nanoBSD Makefile, so
...
all configuration knobs (both system settings and nanoBSD-specific ones)
can be tuned by modifying a single file. Move KERNCONF default value
to make.conf.
Attempt to resolve CFGMASTER like CUSTOMIZE, first relative to ${.CURDIR},
then as an absolute path.
Allow optional additional arguments to be passed to the CUSTOMIZE script.
2004-08-08 13:05:03 +00:00
Hartmut Brandt
cfe632eaba
Back out something I'm working on that crept in with the last commit.
...
Spotted by: ru
2004-08-05 09:11:44 +00:00
Hartmut Brandt
82eb7072de
Remove extra spaces. Remove double quotes around error messages -
...
they are not needed and will actually be printed.
Submitted by: ru
2004-08-05 08:44:00 +00:00
Doug Rabson
3b9474cc07
This file is not suppose be be all one big comment :-(
...
Pointed out by: ssouhlal
2004-08-05 08:07:40 +00:00
Hartmut Brandt
c997f47be0
Add another test that checks for a working '+' command flag.
2004-08-05 07:24:06 +00:00
John-Mark Gurney
cf02bf2407
add a set of scripts that I posted to -current last year. This makes
...
debugging kernels and kernel modules much easier. It will automaticly
locate kernel source, extract kernel module information, and rerun gdb
to load kernel module symbol information (if available by compiling module
w/ debuging symbols).
I have not run these recently, so may need to be updated to work with
gdb6. Feel free to fix as appropriate for -current.
2004-08-04 18:03:43 +00:00
Pawel Jakub Dawidek
f33015b90f
Add regression test for "prefer" balance algorithm in MIRROR class.
2004-08-04 12:18:42 +00:00
Hartmut Brandt
48ec21e7e6
Add a regression test for the passing of command line
...
variable assignments via the MAKEFLAGS environment variable.
2004-08-04 07:40:58 +00:00
Robert Watson
07727c8333
Add minimal socketpair() regression test to confirm that we can create
...
(and close) PF_UNIX socket pairs, and that we can't create PF_INET
socket pairs. More tests to follow.
2004-08-04 03:46:35 +00:00
Doug Rabson
2546665afc
Add regression tests for TLS.
2004-08-03 09:04:01 +00:00
Pawel Jakub Dawidek
fa4a1febf7
Add GEOM_MIRROR class which provide RAID1 functionality and has many useful
...
features. The gmirror(8) utility should be used for control of this class.
There is no manual page yet, but I'm working on it with keramida@.
Many useful tests provided by: simon (thank you!)
Some ideas from: scottl, simon, phk
2004-07-30 23:13:45 +00:00