Commit Graph

615 Commits

Author SHA1 Message Date
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
Tim J. Robbins
7076971c1a Test accumulation of partial multibyte characters in conversion
state objects.
2004-05-11 13:10:47 +00:00
Pawel Jakub Dawidek
100ed7e49e Add regression tests for GEOM Gate:
- test-1.sh - Tests ggatec(8) and ggated(8) on lo0.
	- test-2.sh - Tests ggatel(8) on a regular file.
	- test-3.sh - Tests ggatel(8) on a md(4) device.
2004-05-03 18:29:54 +00:00
Thomas Quinot
dce3a06eaa Be consistent in using variable names instead of parameter numbers. 2004-05-02 21:19:17 +00:00
Sean Kelly
528d980cc0 A new version that does exponents and lots of other neat things. Update
from the original author of math.sed.

Submitted by:	K S Braunsdorf <sed@ksb.npcguild.org>
2004-05-01 02:15:58 +00:00
Poul-Henning Kamp
f033edb2aa More POLA handling of CUSTOMIZE variable 2004-04-27 16:04:41 +00:00
Thomas Quinot
fa483345d2 Take boot0sio from the newly-built world, both for consistency's sake and
to cater for host systems where it is not present.

Reviewed by:	phk
2004-04-27 09:49:16 +00:00
David E. O'Brien
2d06787c3b Script for downloading and printing in hex, the offical vendor ID's from
USB.org.
2004-04-18 05:37:34 +00:00
Ruslan Ermilov
9869addc51 Teach the script where libssl actually lives.
Submitted by:	Michael Bretterklieber <mbretter@a-quadrat.at>
2004-04-13 11:06:20 +00:00
Tim J. Robbins
3a8bdd99cb Reset internal conversion state after triggering conversion errors;
the state is undefined according to the standards, and our undefined
behaviour has changed.
2004-04-07 11:02:51 +00:00
Peter Wemm
7e88a151e0 Add a snapshot of build32.sh for amd64 systems. The readme and comments
describe the (severe) restrictions and future plans.
2004-03-30 22:57:11 +00:00
Dag-Erling Smørgrav
2b39efe249 Previous commit fixed one braino but left another in place. 2004-03-30 19:25:44 +00:00
Poul-Henning Kamp
ae789ad80b Tell fdisk(8) about our geometry.
Strictly speaking this is unnecessary, but it allows nanobsd to work
on systems from before the -x and -y arguments to mdconfig(8) worked
for vnode backing.

Submitted by:	"Oivind H. Danielsen" <oivind.danielsen@kopek.net>
2004-03-28 19:39:08 +00:00
Marcel Moolenaar
1d559da4d1 Add a simple tool that prints out a register offset table to map
from the gdb(1) register number to offsets within struct reg and
struct fpreg. The tool is useful only on selected platforms. On
ia64 the registers are all over the place to simplify handling of
them in various situations, but which makes creating or maintaining
such an offset table error prone to do by hand.
Since remote kernel debugging operates on the same register numbers,
it would be a natural choice to use an identical offset table in the
kernel. However, since the kernel does not operate on struct reg nor
struct fpreg in the remote gdb(1) case, such would not make sense.
Whether we want to use this tool to create offsets for use in the
kernel or duplicate the knowledge of which register number maps to
what register is something that will become clear soon.

Note: in order to build cross debuggers, one cannot use target
headers and/or target definitions. That's why offsets need to be
hardcoded in the first place. Unpleasant, but necessary.
2004-03-28 18:01:15 +00:00
Dag-Erling Smørgrav
787807c120 Braino in previous commit. 2004-03-18 03:01:28 +00:00