Commit graph

1151 commits

Author SHA1 Message Date
Simon L. B. Nielsen 6e0d070709 Add a test program which performs some very basic tests of libmp(3).
It is by no means expected to perform a complete test of the library
for correctness, but is meant to test the API to make sure libmp (or
libcrypto) updates don't totally break the library.
2006-07-28 16:00:59 +00:00
Thomas Quinot 42f470c0e5 'make distribution' must be run from src, not src/etc, so that the proper
set of /usr/share/mk/* is available. This is necessary to build a 7.x
NanoBSD image on a 6.x host.

Reviewed by:	phk
2006-07-28 14:37:38 +00:00
Yaroslav Tykhiy cd5297916c Do not forget about INET6 and MK_INET6_SUPPORT. 2006-07-28 10:59:27 +00:00
Yaroslav Tykhiy 9da33b3565 Populate the MK_INET6 block. 2006-07-28 10:16:24 +00:00
Simon L. B. Nielsen b78ee6d0ff Add Memory Corp 512MB CF Flash.
MFC after:	3 days
2006-07-26 20:35:52 +00:00
Robert Watson 13496464e5 Add a test case for closing a UDPv6 socket that has been connected to
the IPv6 loopback address.

Warns ?= 2.
2006-07-19 12:54:14 +00:00
Robert Watson 9b498b31a9 Add very basic regression test for netinet6: create and close raw,
UDP, and TCP IPv6 sockets.
2006-07-19 12:10:33 +00:00
Marcel Moolenaar f2f0337e84 Add regression tests of the emulation of the long branch conditional form.
These tests can obviously only be run on Merced processors, as they don't
implement the long branch.
2006-07-17 00:27:12 +00:00
Thomas Quinot cf58ce8477 When creating the NanoBSD disk image, install boot blocks from the
newly-built world, in preference to those from the host system.

Reviewed by:	phk
2006-07-15 20:41:38 +00:00
Poul-Henning Kamp aa00f90024 Create the diskless magic files in /etc during the install_etc() step
instead of setup_nanobsd(), because this gives customize tasks a chance
to fiddle the details.

Inspired & tested by:	Jordan Coleman <jordan@JordanColeman.com>
2006-07-13 14:06:09 +00:00
Maxim Konovalov 8847579c57 o style.Makefile(5): WARNS= -> WARNS?=. 2006-07-09 11:51:14 +00:00
Robert Watson b0388d6b91 When extending a file with truncate, check that newly added bytes have
a value of 0 in the extended region.

Make sure that we get EINVAL back if we try to truncate a read-only
file descriptor.
2006-07-09 10:56:36 +00:00
Robert Watson 17d6f0e53b Add regression tests to make sure that attempting to call ftruncate() on
various non-file objects fails.
2006-07-09 10:43:31 +00:00
Robert Watson cead9b1c1c Add very basic ftruncate() regression test, with a comment rather more
thorough than the tests regarding what should be tested.
2006-07-09 10:19:07 +00:00
Alexander Leidinger 75f8db2658 Add (missing) and remove (obsolete) .m files. 2006-07-08 12:32:42 +00:00
Sam Leffler 64db7ae46b o fix join/rejoin format
o add netbsd portability glue

MFC after:	2 weeks
2006-06-30 19:06:18 +00:00
Sam Leffler 777134028a dump new cabq stats 2006-06-23 18:48:44 +00:00
David E. O'Brien 48ecc1efc2 Fix type warnings on 64-bit machines. 2006-06-21 09:52:37 +00:00
Sam Leffler 866488d704 ipw statistics tool 2006-06-20 00:26:35 +00:00
Florent Thoumie f60de18e42 Tweak mfc.pl to generate backout patchsets.
Approved by:	cperciva (mentor)
2006-06-09 10:59:54 +00:00
Pawel Jakub Dawidek 8091e0f54b Add regression tests for geli(8) authentication feature.
Supported by:	Wheel Sp. z o.o. (http://www.wheel.pl)
2006-06-06 06:46:51 +00:00
Pawel Jakub Dawidek 43b48559c5 - Update regression tests after recent changes.
- Verify various sector sizes.
2006-06-06 06:44:19 +00:00
Pawel Jakub Dawidek cb852b474a Add regression tests for IPsec. 2006-06-04 22:06:17 +00:00
Maxim Konovalov 326c421e09 Output directory has gone, remove it from Makefile. 2006-05-31 11:22:15 +00:00
Maxim Konovalov 884fb9ccdd Fix test for empty interpreter. 2006-05-31 11:15:16 +00:00
Maxim Konovalov 393e6ede9e o Add various regression tests for execve(2) syscall.
Obtained from:	NetBSD
2006-05-31 11:13:10 +00:00
Maxim Konovalov fd447da171 o Let getopt(3) report errors in command line arguments.
o If something is wrong with options, then output short usage help message.
o Output errstr returned from strtonum(3).

PR:		bin/98141
Submitted by:	Andrey Simonenko
2006-05-31 08:10:34 +00:00
Matteo Riondato 89d500c6a8 Make recoverdisk compile on amd64 and possibly other 64bit archs.
Bump WARNS to 6.

PR:		amd64/97566
Reviewed by:	phk@
MFC after:	3 days
2006-05-30 19:10:18 +00:00
Dag-Erling Smørgrav a7a8b22fbc The tinderbox has moved to projcvs. 2006-05-30 14:31:09 +00:00
Maxim Konovalov 5368db2726 o Add a collection of regression tests for ancillary (control)
data passing for unix domain sockets, stream and datagram.

There are 15 tests:

Test/Type of socket					STREAM	DGRAM
----------------------------------------------------------------------
Sending, receiving cmsgcred				   1      6
Receiving sockcred (listening socket has LOCAL_CREDS)	   2      n/a
Receiving sockcred (accepted socket has LOCAL_CREDS)	   3      n/a
Receiving sockcred					   n/a    7
Sending cmsgcred, receiving sockcred			   4      8
Sending, receiving timestamp				   5      9
Sending, receiving cmsgcred (no control data)		   10     13
Sending cmsgcred, receiving sockcred (no control data)	   11     14
Sending, receiving timestamp (no control data)		   12     15

Currently we pass 8 tests.  All the rest marked as TODO.

PR:		kern/90800
Submitted by:	Andrey Simonenko
2006-05-29 18:40:55 +00:00
Dag-Erling Smørgrav 618b1eec71 Add RELENG_5_5 to the 5.x lineup. 2006-05-29 14:51:52 +00:00
Maxim Konovalov f1746dbc9c o Test truncate(2) on fifo: it should ignore the request and
return success.

PR:		kern/98064
Submitted by:	Kirk Russell
2006-05-29 10:56:27 +00:00
Alexander Leidinger 39e2bd0bdb Add a disclaimer regarding public/internal functions to every subsystem for
now.

Discussed on:			cvs-all
Helped with the wording:	"Ben Kaduk" <minimarmot@gmail.com>
2006-05-28 15:25:18 +00:00
Alexander Leidinger ff4b8cb7bd This is the kernel subsystem API documentation generation framework.
It uses doxygen to generate the API documentation. For each subsystem
a very small (about 20 lines with comments) subsystem specific Doxyfile
has to be written (have a look at the README for more). All common doxygen
options are specified in a separate file.

The framework is configured to not only generate the HTML version, but also
a PDF version (the paper size is hardcoded to DIN A4 currently and depending
on the subsystem you have to increase some limits in the latex configuration
of your system, the README tells more about this).

It also allows cross-references between the subsystems (it generates doxygen
tag files).

Currently the docs are generated in OBJDIR, but this may change after
coordination with doc@. The makefile is prepared to generate/move various
parts of the generated docs to different destinations.

TARGET_ARCH is respected and some env-vars are set for architecture specific
handling of the source (the README tells more).

Subsystems for which docs are generated:
 - cam                  - crypto                - dev_pci
 - dev_sound            - dev_usb               - geom
 - i4b                  - kern                  - libkern
 - linux                - net80211              - netgraph
 - netinet              - netinet6              - netipsec
 - opencrypto           - vm

Requested by:	gnn
2006-05-26 18:06:07 +00:00
Robert Watson 64ccf56136 Use WARNS and rely on rules rather than an explicit target for the
test binary.

Reported by:	maxim
2006-05-25 10:46:43 +00:00
Robert Watson 0fb57f87a3 Add a basic regression test for sendfile() over TCP, which sends varying
lengths of headers and data and makes sure it receives about the right
number of bytes.
2006-05-25 09:50:14 +00:00
Michael Reifenberger 8f0e86eb29 make cryptotest compile after the latest changes to cryptodev.h 2006-05-24 15:40:46 +00:00
Maxim Konovalov 66c14b21d3 o Correct comments: remove a reference to non-existent gdbinit.9 man page;
correct a path to the kernel build directory; gdb lost -k key.

Reviewed by:	grog
MFC after:	1 week
2006-05-22 07:12:25 +00:00
Maxim Konovalov 90967a95ce o Convert to Test::Harness testing infratructure. 2006-05-20 19:18:24 +00:00
Tom Rhodes 07b7d7fbdf Switch value back to values.
Requested by:	ru
2006-05-20 04:32:10 +00:00
Pawel Jakub Dawidek 502dff2382 Add missing stats.hst_nodesc statistics. 2006-05-18 13:22:44 +00:00
Poul-Henning Kamp f6ce2a64f7 Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
Tom Rhodes 57caf3d61f Some minor wording/description changes.
Reviewed by:	ru (two months ago)
2006-05-16 18:59:00 +00:00
Maxim Konovalov cd915ab751 o A tiny regression test exposes bug in rip_disconnect(). 2006-05-14 22:03:00 +00:00
Bruce M Simpson 9b5b26f66f Add multicast group join/leave functionality to IPv4 regression
test suite.
2006-05-14 14:11:54 +00:00
Maxim Sobolev 684e75f7c3 o Add an option allowing to start search from some offset instead of offset 0;
o mesure distance between UFS1 and UFS2 superblocks independently.

MFC after:	1 week
2006-05-13 20:23:06 +00:00
Dag-Erling Smørgrav d54e67565d Remove alpha from the HEAD lineup. 2006-05-13 08:25:31 +00:00
Dag-Erling Smørgrav 8a7c7f9cc3 Forgot to add RELENG_6_1 here as well. 2006-05-12 19:06:22 +00:00
Dag-Erling Smørgrav f488d07edb Add RELENG_6_1 to the lineup. 2006-05-10 17:51:39 +00:00
John-Mark Gurney 026526f6d1 add a diff line so you can check your commit before hitting enter... 2006-05-08 06:47:59 +00:00