Commit Graph

63 Commits

Author SHA1 Message Date
imp
c961282516 Update flp test for new diskinfo output
The floppy test passes with this. The others fail due to 'integrity
checks' failing in GPART. It's not at all clear those integrity
checks are legit or if the test samples were bogusly generated
by FreeBSD.
2020-09-12 17:24:04 +00:00
imp
25eb7906f5 Fix trailing whitespace 2020-09-12 17:24:00 +00:00
imp
6b5b54b8b4 Make this compile again by fixing err args to have formats
Also, add NO_OBJ=t top the Makefie, since the test-harnest expects to
run it in place.
2020-09-12 17:23:51 +00:00
imp
ac35ba34e1 Remove disk images / tests from alpha, sun and pc98
These images are no longer relevant...  However, I've also not tested
the regression test here to see if it still works or not... It needs
a lot of love regardless...
2020-09-11 23:37:49 +00:00
bdrewery
bb97a3d43c Fix LDADD/DPADD that should be LIBADD.
Sponsored by:	EMC / Isilon Storage Division
2015-12-04 03:17:47 +00:00
imp
c39e6fc2c9 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00
antoine
bfd388c026 (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR:		137213
Submitted by:	Eygene Ryabinkin (initial version)
MFC after:	1 month
2009-12-28 22:56:30 +00:00
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