Commit Graph

729 Commits

Author SHA1 Message Date
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
Jordan K. Hubbard
bad960b11b After conferring with Apple legal, update the license of this to APSL 2.0
and change the URL link to point to the appropriate license text.
2004-07-27 20:01:43 +00:00
John-Mark Gurney
03c439e6e0 add a command to calculate the ratios of cnt_hold and cnt_lock to locks
from mutex profiling...  This takes cnt_* and divides it by count, so
lower is better...

Sample command:
sh mtxpercent.sh | sort -rn +7 -8

SEE ALSO
	MUTEX_PROFILING(9)
2004-07-27 00:36:53 +00:00
Pawel Jakub Dawidek
889c5dc22b Change naming scheme from /dev/<name>.stripe to /dev/stripe/<name>. 2004-07-26 16:10:27 +00:00
Pawel Jakub Dawidek
ba385d0091 Change naming scheme from /dev/<name>.concat to /dev/concat/<name>. 2004-07-26 16:08:32 +00:00
Robert Watson
43cb0b2b09 Simple attachment regression test to attach the "accf_data" accept
filter to an inet socket and check at various points during the socket
life cycle that the filter can or cannot be attached, and that once
attached that the right one is attached and that it can be queried.
2004-07-26 03:53:47 +00:00
Mike Silbersack
a99c936ba3 Add two more programs useful for testing the correctness of pipes. 2004-07-22 02:46:25 +00:00
Tim J. Robbins
a24d9b9413 Add test programs for mbsnrtowcs() and wcsnrtombs(). 2004-07-21 13:47:48 +00:00
Mike Silbersack
d895e295d0 Make this test compile again and remove its dependency on sys/pipe.h. 2004-07-21 03:13:53 +00:00
Mike Silbersack
9fb02d624f Add a simple regression test for the stat st_size bug just fixed in
sys_pipe.c
2004-07-20 07:17:19 +00:00
Tim J. Robbins
7cc9e6ddbb Add a skeleton makefile that runs the tests out of libc/regex/grot. 2004-07-19 09:00:26 +00:00
Tim J. Robbins
683d338a83 Oops, test error behaviour of wctrans(), not wctype(). 2004-07-19 08:53:41 +00:00
David Schultz
b3cb43917d While testing fe[gs]etround(), make sure FLT_ROUNDS reflects the
proper rounding mode as well.
2004-07-19 08:17:47 +00:00
Robert Watson
f8254af5ce Explicitly specify ATPROTO_DDP constant rather than '0' when binding
a netatalk socket.  No functional change.
2004-07-17 17:16:16 +00:00
Robert Watson
ffd446110e Add a simple tool to bind netatalk sockets and perform send operations.
This isn't a classic regression test in that it doesn't have a notion of
pass fail, it's more of an exercise tool.  It attempts to exercise
unbound, bound, unconnected, and connected variations on SOCK_DGRAM
sockets.
2004-07-17 17:12:15 +00:00
Robert Watson
9e7ebef8c3 gcc now objects to a default label without any contents. Because I want
to have a comment present in the default case, add a 'break' to each
default case that previously had no actual statements.
2004-07-17 17:01:25 +00:00
Robert Watson
90d6d28efa Add simple regression test to detect leakage of file descriptors when
accept() returns EAGAIN on a non-blocking listen socket.  This is the
tool I used to check that such a bug was resolved when merging accept()
locking.
2004-07-17 16:56:46 +00:00
Doug Rabson
a52b6f787c Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
Dag-Erling Smørgrav
bce92f41d6 When cleaning house, don't try to remove what isn't there. 2004-07-09 13:15:32 +00:00
Hartmut Brandt
f0092780fc Use and explicite 'sh' to run the scripts, because they may be checked
out non-executable.
2004-07-09 08:59:15 +00:00
Ruslan Ermilov
3b579c6e63 Arguments to options aren't necessarily separated with whitespace.
Noticed by:	harti
2004-07-07 09:38:14 +00:00
Maxime Henrion
94adaee892 Update the location of the Hart's database as well. 2004-06-28 11:46:48 +00:00
Maxime Henrion
f3d319a76c The location of the Boemler's PCI database has moved. Update comments
to reflect reality.
2004-06-28 11:32:58 +00:00
Maxim Sobolev
ace18b764a Add qsort, mergesort and heapsort regression tests. 2004-06-25 12:31:12 +00:00
Dag-Erling Smørgrav
ed18bbe9cb Set up logging before trying to lock the sandbox; otherwise tbmaster(1)
will just log a mysterious "tinderbox returned exit code 35".
2004-06-22 08:34:46 +00:00
Dag-Erling Smørgrav
6257798869 Initialize $timeout to 0. 2004-06-21 15:08:17 +00:00
Dag-Erling Smørgrav
d30e0e242e Add a timeout after which tinderbox(1) will kill its children and exit. 2004-06-21 14:49:22 +00:00
Robert Watson
56063929de Update for so_state->sb_state, SB_* flag renames.
Submitted by:	rik
2004-06-14 21:42:01 +00:00
Dag-Erling Smørgrav
c4ed9120ab Add a JOBS config keyword, which corresponds to the --jobs tinderbox(1)
command line option.
2004-06-14 12:10:48 +00:00
Dag-Erling Smørgrav
78fd88311a Update-only configs. 2004-06-14 11:36:00 +00:00
Dag-Erling Smørgrav
7ba995809c Group tinderbox results by config name. Skip configs whose names start
with "update_".
2004-06-12 11:23:04 +00:00
Dag-Erling Smørgrav
640d785fc9 Include the config name in the log file name. 2004-06-12 11:22:21 +00:00
David Schultz
a2ca83c04a Add some fenv.h regression tests. 2004-06-11 03:22:34 +00:00
Dag-Erling Smørgrav
2caf74ecdd Log the config name in the history file. 2004-06-05 11:09:34 +00:00
Thomas Quinot
ad7df741c9 Add trailing backslash missing from previous checkin. 2004-05-28 21:26:49 +00:00
Thomas Quinot
c0c63fd3c5 Support for optional initialization of the configuration slice by
specifying the name of a directory to be copied there in Makefile
variable CFGMASTER.
2004-05-28 21:23:23 +00:00
Thomas Quinot
5141d0dd23 Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself,
assuming in the latter case that it is an absolute path name.
2004-05-28 21:16:14 +00:00
Brooks Davis
d49b8d3917 Fix stupid patch(1) tricks. Apparently patch thinks all files match the
empty file so if you accidently apply a patch created with diff -N
twice, you get files with duplicate contents.

Reported by:	Antoine Brodin <antoine.brodin at laposte.net>
2004-05-27 17:23:32 +00:00
Brooks Davis
7387768ef4 Add support for an /etc/eui64 file modeled on /etc/ethers. The API is
modeled on ethers(3) except that all functions are thread-safe.

Reviewed by:	simokawa
2004-05-26 22:58:06 +00:00
Pawel Jakub Dawidek
c4db6df027 Add regression tests for geom_stripe and geom_nop.
Supported by:	Wheel - Open Technologies - http://www.wheel.pl
2004-05-22 10:58:53 +00:00
Dag-Erling Smørgrav
08e6faa278 If asked to build a kernel without first building world, build the
kernel toolchain first.
2004-05-15 00:08:44 +00:00