Commit Graph

132 Commits

Author SHA1 Message Date
Poul-Henning Kamp
fead6f3f5b Play catch up with the kernel.
Sponsored by:	DARPA & NAI Labs
2002-04-04 16:40:11 +00:00
Poul-Henning Kamp
1cd429e807 Add testcase #14: PC98 label. 2002-03-28 21:42:38 +00:00
Poul-Henning Kamp
153ce220d6 Record the physical geometry in this disk-image, PC98 needs it. 2002-03-28 21:42:14 +00:00
Poul-Henning Kamp
00de520ed9 Ignore the <FreeBSD> element in XML files. 2002-03-28 21:41:44 +00:00
Poul-Henning Kamp
ddc8f3b00b Add the relevants sectors from a PC98 disk to our beastiarium.
Submitted by:	imp
2002-03-28 21:09:30 +00:00
Poul-Henning Kamp
0a079a986d Add another two alpha disks to this testcase. 2002-03-27 21:23:06 +00:00
Poul-Henning Kamp
a0dd8cc079 Add another couple of alpha disklabels. 2002-03-27 21:21:29 +00:00
Poul-Henning Kamp
3355fbf025 Track changes in sys/geom 2002-03-26 22:08:04 +00:00
Poul-Henning Kamp
a9ce7dc604 Another bow for tradition s/method/class/g 2002-03-26 21:40:36 +00:00
Poul-Henning Kamp
c252d16969 Link testcase 13 in. 2002-03-24 14:40:15 +00:00
Poul-Henning Kamp
f72048de0e Add a testcase for the alpha BSD label from beast. 2002-03-24 14:29:39 +00:00
Poul-Henning Kamp
6ecdfd62c6 Add a copy of the bsd-label from beast.freebsd.org 2002-03-24 13:54:01 +00:00
Poul-Henning Kamp
06bce47d34 Update to reflect new contents of sys/geom 2002-03-24 11:22:06 +00:00
Poul-Henning Kamp
6de2a2e8a5 Some necesary fixups to cope with new location and FreeBSD CVS keyword. 2002-03-17 19:16:14 +00:00
Poul-Henning Kamp
31304807c1 Add the GEOM regression test framework.
This is a set of userland shims in which GEOM can be run through simple
tests.

The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.

Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images

This is a very handy tool for people developing GEOM methods.  The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.

I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.

You will need ports/textproc/expat for the XML parser.

Sponsored by:   DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00
Robert Watson
cd7aba4057 NAI DBA update. 2002-03-14 20:08:51 +00:00
Jordan K. Hubbard
61404abce8 Add Apple's filesystem exercising tool.
Submitted by:   Conrad Minshall <conrad@apple.com>
Obtained from:  Apple Computer
2001-12-20 04:15:57 +00:00
Doug Rabson
9c2de1cd14 Make a start at a regression test for the unaligned trap handler. 2001-10-19 22:10:13 +00:00
Robert Watson
abc9a36083 o Fix two eaccess() checks -- in one case, the wrong test file
was used, resulting in a regression failure, and in the other,
  the test on an error return was inverted.

Obtained from: TrustedBSD Project
2001-09-21 21:28:43 +00:00
Robert Watson
884748cf55 o Regression test to check that appropriate parts of the process
credential are used in the access() and new eaccess() system calls.

Obtained from:	TrustedBSD Project
2001-09-20 20:03:58 +00:00
Robert Watson
361515d909 o Add a comment identifying the "privileged on privileged" scenario.
Obtained from:	TrustedBSD Project
2001-04-13 16:38:34 +00:00
Robert Watson
8f6fee753c o Add inter-process authorization uid regression testing for ktrace().
Obtained from:	TrustedBSD Project
2001-04-13 16:25:25 +00:00
Robert Watson
72919d5f6d o s/debug/ptrace/ since shortly there will be tests involving other
forms of debugging.

Obtained from:	TrustedBSD Project
2001-04-13 16:09:40 +00:00
Robert Watson
bacff58c0e o Expand inter-process authorization regression test to include
signalling with sigsegv as one of the tests.
o Teach errno_to_string() about ENOTSUPP.

Obtained from:  TrustedBSD Project
2001-04-12 17:46:20 +00:00
Robert Watson
3ceef0c3d7 o Enable -DSETSUGID_SUPPORTED in inter-process authorization regression
test by default, as setugid() is now part of the base kernel (assuming
  (options REGRESSION) has been enabled for the running kernel).

Obtained from: TrustedBSD Project
2001-04-11 20:23:23 +00:00
Robert Watson
274f7445fd o First pass at an inter-process authorization regression testing suite.
This test utility attempts to evaluate the current kernel policy
  for authorization inter-process activities, currently ptrace(),
  kill(, SIGHUP), getpriority(), and setpriority().  The utility creates
  pairs of processes, initializes their credential sets to useful
  cases, and reports on whether the results are in keeping with hard-coded
  safety expectations.

o Currently, this utility relies on the availability of __setugid(),
  an uncomitted system call used for managing the P_SUGID bit.  Due to
  continuing discussion of optional regression testing kernel components
  ("options REGRESSION") I'll hold off on committing that until the
  discussion has reached its natural termination.

o A number of additional testing factors should be taken into account
  in the testing, including tests for different classes of signals,
  interactions with process session characteristics, I/O signalling,
  broadcast activities such as broadcast signalling, mass priority
  setting, and to take into group-related aspects of credentials.
  Additional operations should also be taken into account, such as ktrace,
  debugging attach using procfs, and so on.

o This testing suite is intended to prevent the introduction of bugs
  in the upcoming sets of authorization changes associated with the
  introduction of process capabilities and mandatory access control.

Obtained from: TrustedBSD Project
2001-04-11 17:21:14 +00:00
Peter Dufault
e5f1b1b180 These are regression tests for the P1003.1B scheduler.
Approved by:	jkh
2000-02-16 14:28:42 +00:00
Doug Rabson
6527fda589 Add a couple of test cases for mmap over NFS. 1997-05-18 10:03:48 +00:00
Mike Pritchard
03bbd5ccd6 Fix a couple of typos. 1997-03-07 01:48:24 +00:00
Andrey A. Chernov
b7c6d4477a Make it at least semi-worked 1996-08-11 18:08:53 +00:00
Poul-Henning Kamp
9e9d8a4677 README reads:
This directory is for regression test programs.

A regression test program is one that will excercise a particular bit of the
system to check that we have not reintroduced an old bug.

Please make a subdir per program, and add a brief description to this file.
1995-10-15 11:27:40 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00