Commit Graph

56 Commits

Author SHA1 Message Date
des
c2c1c946ae Add sbuf_new_auto as a shortcut for the very common case of creating a
completely dynamic sbuf.

Obtained from:	Varnish
MFC after:	2 weeks
2008-08-09 11:14:05 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
nik
3e959a33f9 Switch over to a different, more flexible test output protocol that's
understood by Perl's Test::Harness module and prove(1) commands.

Update README to describe the new protocol.  The work's broken down into
two main sets of changes.

First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.

Second, provide the .t files that actually run the tests.  In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.

Add a TODO file.
2004-11-11 19:47:55 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
johan
1849fdd1ac style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-24 20:52:58 +00:00
ru
b6bc039460 Added missing DPADD. 2004-02-05 22:01:28 +00:00
phk
8442c472ba Remove the "run GEOM in userland harness" test stuff, it's been OBE. 2003-04-13 09:11:47 +00:00
phk
54f789d581 Give mdconfig a couple of seconds to deconfigure in case debugging is being
printed to a serial console.

Reverse the order of args to diff to make it more logical.
2003-04-13 09:06:39 +00:00
phk
b39572e7fa Update these two reference vectors. 2003-04-09 13:36:28 +00:00
phk
e66eeacdc8 Add script to run kernel based regression test and the reference vectors
for the current XML images.
2003-04-09 12:40:12 +00:00
phk
052492c05d Utility to load one of our XML images into a MD(4) device. 2003-04-09 12:34:20 +00:00
phk
e196887b27 Fix a bug in the white-space remover. 2003-03-04 19:20:52 +00:00
phk
36fcf2dae6 Update reference vectors to include BSD's <type> output. 2003-01-31 18:59:12 +00:00
phk
bbd6f8d1ff Add Apple partitioning test case.
Use correct name for image data file
2003-01-31 18:31:48 +00:00
phk
1b12d97b50 Add more scaffolding to make this compile kernel code. 2003-01-28 09:48:59 +00:00
phk
dd794eda3b geom_bsd need -lmd to link now. 2003-01-06 20:11:32 +00:00
phk
1f7478c270 Goto WARNS 5 with assorted changes. 2002-12-16 22:35:56 +00:00
phk
08b76459f3 Update this one too. 2002-12-16 22:01:25 +00:00
phk
8bf24ac2c1 Get the test-suite into sync with the kernel again. 2002-12-16 21:39:16 +00:00
phk
f74307d577 Redo reference vectors to include the mediasize and sectorsize. 2002-10-24 21:35:57 +00:00
phk
5817ad8658 Resync with kernel. 2002-10-24 21:14:05 +00:00
phk
ac8ae8f278 Use in-tree libbsdxml instead of ports based libexpat.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:16:07 +00:00
phk
80931223ac Match the new g_io_deliver() API in the kernel.
Sponsored by:	DARPA & NAI Labs.
2002-10-05 13:12:10 +00:00
phk
faad129ed6 Pass sbuf to the kernel routines to match new kernel code.
Sponsored by:	DARPA & NAI Labs
2002-10-05 13:11:01 +00:00
phk
358e076f1a Update to match current kernel code.
Fix a couple of reference data which were found to be in error.

Sponsored by:	DARPA & NAI Labs.
2002-09-27 22:20:53 +00:00
phk
2e40c65a70 Some change in src/share/mk seems to have made it possible to remove
50% of the active ingredients in these Makefiles.
2002-09-15 13:05:42 +00:00
phk
798f40001b Overhaul the kernel-simulation bits here to use pthreads instead.
If somebody wanted to, this could for the beginning of a "libkernel"
which could be used to run kernel code in userland.

Sponsored by:	DARPA & NAI Labs.
2002-09-13 13:13:00 +00:00
phk
2f424d1fc1 Remove magicspace from reference data.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:51:55 +00:00
phk
33a29ee495 expat2 changed the name of their include file to expat.h
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:44:15 +00:00
phk
9b338dc04e Fix an indentation typo.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:43:15 +00:00
phk
fe296cc3f4 Add a zeroed out sector one for the GPT hack and test T003.
Sponsored by:	DARPA & NAI Labs.
2002-09-06 08:41:48 +00:00
phk
38cd21ba9c Catch up with kernel. 2002-06-09 10:59:04 +00:00
phk
715c35adad Update to match kernel side.
Sponsored by: DARPA & NAI Labs.
2002-05-21 20:42:51 +00:00
phk
aa08c897e4 Catch up with recent events.
Sponsored by:	DARPA & NAI Labs.
2002-05-19 18:57:03 +00:00
phk
51db5da3ff Update the test-case reference vectors to match the new XML format.
Sponsored by:	DARPA & NAI Labs.
2002-04-24 21:03:26 +00:00
phk
58cdadc9ad Add -DKERNELSIM so the test cases compile with the kernel simulation.
Sponsored by: DARPA & NAI Labs.
2002-04-24 21:00:50 +00:00
phk
155395406f Improve the output in case of inserts or deleted.
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:59:31 +00:00
phk
024e952d8c Prepare the .conf XML comparator for a more kosher XML format.
Sponsored by:	DARPA & NAI Labs.
2002-04-24 20:33:04 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
phk
79d2daeb7f update the reference vector. 2002-04-16 16:11:29 +00:00
phk
d9b060bed3 Forgot to commit the updates to the regression test suite.
Sponsored by:	DARPA & NAI labs.
2002-04-16 11:42:13 +00:00
phk
2a571683e0 Play catch up with the kernel.
Sponsored by:	DARPA & NAI Labs
2002-04-04 16:40:11 +00:00
phk
19520dd5a5 Add testcase #14: PC98 label. 2002-03-28 21:42:38 +00:00
phk
2e89dca786 Record the physical geometry in this disk-image, PC98 needs it. 2002-03-28 21:42:14 +00:00
phk
01df1c78f9 Ignore the <FreeBSD> element in XML files. 2002-03-28 21:41:44 +00:00
phk
84f1900b8e Add the relevants sectors from a PC98 disk to our beastiarium.
Submitted by:	imp
2002-03-28 21:09:30 +00:00
phk
706e613c58 Add another two alpha disks to this testcase. 2002-03-27 21:23:06 +00:00
phk
412c05188d Add another couple of alpha disklabels. 2002-03-27 21:21:29 +00:00
phk
63f0cd928d Track changes in sys/geom 2002-03-26 22:08:04 +00:00
phk
166310e873 Another bow for tradition s/method/class/g 2002-03-26 21:40:36 +00:00