Commit Graph

845 Commits

Author SHA1 Message Date
Tai-hwa Liang
da833457eb Adding another multi-byte characters related regression test for msdosfs.
Tested by:	njl
Reviewed by:	silby, bde, sam (mentor)
2005-04-18 13:06:43 +00:00
Mike Silbersack
fb3153e1ee Add another regression test - one we don't pass right now. 2005-04-17 00:56:38 +00:00
Mike Silbersack
756f6b7398 Have the regression test use a path in /tmp for a mount point
instead of a directory that only exists on my machine.
2005-04-17 00:40:27 +00:00
Tom Rhodes
932d3e21cc Those who are ungodlike should be returned an error. 2005-04-16 18:41:00 +00:00
Robert Watson
babcc5ad79 Starting point for a regression test for mac_bsdextended(4)/libugidfw(3).
Currently only performs basic tests against the library string routines,
and queries less important kernel state.

Obtained from:	TrustedBSD Project
Sponsored by:	SPAWAR, SPARTA
MFC after:	3 days
2005-04-16 12:06:40 +00:00
Stefan Farfeleder
a87ba6e923 Also test \0 in the format string. 2005-04-14 18:33:14 +00:00
Poul-Henning Kamp
640f692f57 sort and expand the prunelist in a more or less generally sensibly
order.  Put some strategic comments in about how much storage is
necessary and a longer explanation on the top.

It is now pretty trivial to put nanoBSD on as little as a 64MB CF card.

Sponsored by:	Soekris Engineering.
2005-04-13 21:22:20 +00:00
Poul-Henning Kamp
37d04bc5d9 Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
want to carry forward.
2005-04-13 21:20:16 +00:00
Poul-Henning Kamp
bdc9311ac7 Use df -i 2005-04-13 21:19:28 +00:00
Stefan Farfeleder
91e3aee000 Add a few regression tests for printf(1). 2005-04-13 20:08:17 +00:00
Poul-Henning Kamp
d668f22a0c Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
Matthew N. Dodd
afe98543b8 Add support for more than two datasets. Currently limited to 7 though
the limit is only the number of meaningful graph symbols available.

Statistical comparison is performed between the first dataset and
any further datasets.

No objection by:	 phk
2005-04-13 05:50:56 +00:00
Matthew N. Dodd
478521fa8d Save argv[0] and use it in usage message. 2005-04-13 01:44:59 +00:00
Tai-hwa Liang
74c77551ed Adding a brief description for pirtool.
Reviewed by:	sam (mentor)
2005-04-12 13:52:55 +00:00
Robert Watson
11853de0a1 Centralize usage in usage(), and use in preference to fprintf().
List possible tests in usage().

When running a test, print the test name.
2005-04-10 02:06:49 +00:00
Mike Silbersack
50ac04ddbc A simple regression test for msdosfs. Not the best, but it would have caught
the recent trouble msdosfs had.
2005-04-08 07:21:07 +00:00
David Schultz
5b8adb5fd1 Add missing test-rem.t. 2005-04-02 12:50:28 +00:00
Sam Leffler
211faaafa9 print new stats for cts burst extension logic 2005-03-30 20:21:44 +00:00
Sam Leffler
cc60079bc7 fix typo 2005-03-30 19:28:00 +00:00
Sam Leffler
a0aef338f1 handle rejoin event 2005-03-29 20:24:13 +00:00
David Schultz
cd775c1a33 A few simple regression tests for remainder(), remainderf(),
remquo(), and remquof().
2005-03-25 06:24:46 +00:00
Pawel Jakub Dawidek
1897c44125 Add regression tests for pkill/pgrep.
MFC after:	3 days
2005-03-20 12:38:08 +00:00
John-Mark Gurney
ca9ac06c99 I forgot to commit this fix that is now kgdb aware... 2005-03-20 02:08:21 +00:00
Poul-Henning Kamp
5f673b316f I keep forgetting that I wanted the customize logs collected too.
Reminded by:	Lennart Sorth, Andrea Campi and others.
2005-03-17 19:45:05 +00:00
David Schultz
565b7c794f - Replace fe[gs]etmask() with feenableexcept(), fedisableexcept(), and
fegetexcept().
- Add additional tests for the above.
- Output a separate success message for each of the 8 components of
  this set of tests.
2005-03-16 19:04:45 +00:00
Jeff Roberson
de4c115cf8 - ktrace(1) has nothing to do with schedgraph. Remove that from the
instructions.
2005-03-14 11:52:24 +00:00
Poul-Henning Kamp
7da2c6720f Add NO_GPIB 2005-03-12 20:42:18 +00:00
Poul-Henning Kamp
60cab5fbfc DTRT with /var so that any packages installed are correctly recorded. 2005-03-12 20:41:26 +00:00
Poul-Henning Kamp
4d18cc412d Enable packet mode in boot0, this makes it unimportant if the
geometry is 100% correct on most hardware.
2005-03-12 20:40:33 +00:00
Robert Watson
d64ac531ac Check the return value of shutdown(). 2005-03-11 13:05:18 +00:00
Robert Watson
b27b61f9eb Add sigpipe, a simple UNIX domain socket and TCP regression test that is
intended to verify that SIGPIPE is delivered to a process writing or
sending on a socket that has been shut down for write.  If available,
SO_NOSIGPIPE is also tested.

This regression test is currently passed by RELENG_4, but not by HEAD or
RELENG_5, due to a bug in the write() code for sockets.  SO_NOSIGPIPE is not
present in RELENG_4, however, so is not tested there.

Reported by:	Mikko Tyolajarvi <mbsd at pacbell dot net>
PR:		78478
2005-03-11 12:47:14 +00:00
David Schultz
ca4fcf3f3e Test cases for nextafter{,f,l} and nexttoward{,f,l}. 2005-03-07 05:03:46 +00:00
Dag-Erling Smørgrav
1d56d42a39 Markup nits. 2005-03-03 07:20:57 +00:00
Dag-Erling Smørgrav
d75e5c3eb9 Correct the default value for %%TINDERBOX%%. 2005-03-03 07:18:01 +00:00
Ruslan Ermilov
f09a3cc462 Add hacks that I use to test cross-builds (by building on
native and foreign architectures and comparing products).
They eliminate most of the differences caused by different
object directory paths, timestamping, and identification.

(Note WORLDTMP was renamed to ${OBJTREE}${.CURDIR}/tmp.)
2005-03-02 16:40:51 +00:00
Hartmut Brandt
012a8b3f81 Repo-copy tools/regression/usr.bin/make to tools/build/make_check
and adjust the path in the Makefile for the upgrade_checks target.
These checks are really feature upgrade checks that should be fast
and just find out whether we need to build a new make before
proceeding with other targets like buildworld. This makes the
place free for a real regression test suite in the old place.
2005-03-02 12:33:23 +00:00
Doug Ambrisko
2f53b7ce03 This will not compile without:
http://www.ambrisko.com/doug/listio_kqueue/listio_kqueue.patch

Note: it is a good idea to run this against a physical drive to
exercise the physio fast path (ie. lio_kqueue /dev/<something safe>)
This will ensure op's counting per LIO request is correct.  It is
currently broken the above patch fixes it.

Sponsored by:   IronPort
2005-03-02 04:00:55 +00:00
Doug Ambrisko
5a199d9799 Add an AIO & kqueue regression test. It is a good idea to run this
against a disk as the argument.  If you don't it will use a temp file.
The raw disk will use the kernel physio fast path method until the
max number of pending op's is reached then it will queue them.  File
system op's are always queued.  This is more important with LIO since
operation can get split across and accounting of op's is broken with LIO.

Note that this was broken when locking was added to kqueue (ie. 5.3)
My fix needs to be better integrated with FreeBSD.

Next is an LIO test and implementation.

Sponsored by:	IronPort
2005-03-02 03:32:01 +00:00
Tom Rhodes
085eeed760 Add sysdoc, a small set of scripts which will parse a kernel binary and
modules to rip out the available sysctls.  It will then produce a manual
page which may be installed with 'make install'.  Currently typing 'make'
in the directory uses the default /boot/kernel files.  To use a specific
directory, run sysdoc -k [location].
2005-03-01 05:48:37 +00:00
David Schultz
2eb5318e94 - Split tests into three rough categories.
- Use fesetround() instead of fpsetround(), and add tests for
  various rounding modes.
- Test that all NaNs generated are quiet.

Some of these tests won't pass until problems in vendor sources
(gdtoa and gcc) are fixed and new versions imported, but I
want to get these changes into the tree before I accidentally
blow them away again.  :-(
2005-03-01 01:43:20 +00:00
David Schultz
73961b3d51 - Split the printfloat test into 11 individually wrapped and packaged
tests.  (Buy 10, get one free!)  The separate categories were
  already there; they just weren't labeled.
- Use fesetround() instead of fpsetround(), since the former is
  standard and implemented on all supported architectures.  Add
  tests for each rounding mode.
- Add additional tests for subnormals.

Some of these tests won't pass until problems in vendor sources
(gdtoa and gcc) are fixed and new versions imported, but I
want to get these changes into the tree before I accidentally
blow them away.
2005-03-01 01:43:05 +00:00
Ruslan Ermilov
8945135e1f Bootstrap gencat(1).
OK'ed by:	phantom
2005-02-27 19:13:41 +00:00
Ruslan Ermilov
6ad80d4f0d As threatened, drop support for source upgrades from pre-5.3.
Inspired by:	obrien
2005-02-27 11:22:58 +00:00
Ruslan Ermilov
3fb3a43079 Make the format of LC_CTYPE files architecture independent by
introducing the disk formats for _RuneLocale and friends.

The disk formats do not have (useless) pointers and have 32-bit
quantities instead of rune_t and long.  (htonl(3) only works
with 32-bit quantities, so there's no loss).

Bootstrap mklocale(1) when necessary.  (Bootstrapping from 4.x
would be trivial (verified), but we no longer provide pre-5.3
source upgrades and this is the first commit to actually break
it.)
2005-02-26 21:47:54 +00:00
Robert Watson
9d62322505 Add a simple regression test for stream UNIX domain sockets and the
bind()/connect() system calls, which is intended to confirm that the
right successes and errors occur when rendezvousing via the file system
name space.
2005-02-20 22:21:53 +00:00
Robert Watson
edcd17dded Also build the netblast sub-directory, not just netreceive and netsend.
MFC after:	3 days
2005-02-12 20:04:23 +00:00
Robert Watson
1dd14b1a7b Mark the signum argument to signal_handler() as __unused.
MFC after:	3 days
2005-02-12 20:03:30 +00:00
Ruslan Ermilov
1042be684d Add to CFLAGS. 2005-02-12 18:09:20 +00:00
Poul-Henning Kamp
6628aaee13 Update a little bit. 2005-02-10 12:47:55 +00:00
David E. O'Brien
8460448167 Fix "to a file" example so it works (one must touch(1) the file first). 2005-02-07 11:26:53 +00:00