Commit Graph

238 Commits

Author SHA1 Message Date
jmallett
5badd84013 Add an exceedingly simple regression test for the file2c program. One would
hope that it would never regress, but this is a straightforward test, so add
it.
2002-04-20 19:01:21 +00:00
jmallett
c5bca421d9 Add regression tests for parts of xargs(1). 2002-04-20 18:46:33 +00:00
jmallett
e9f3784394 Add a comment regarding the file header, and the mode that the file is created
with.

This should be fixed shortly by adding the (desirable) option to set the file
creation mode on the command line.
2002-04-20 18:44:54 +00:00
jmallett
eefa1794dd Add uuencode(1) and uudecode(1) regression test input and output. 2002-04-20 17:58:13 +00:00
jmallett
b5175f501b Start adding framework for userland regression tests, and tests for
uuencode and uudecode.
2002-04-20 17:20:21 +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
des
e14073ff48 Long-forgotten patch: warn if a closed PR has no "closed by" 2002-04-15 06:36:22 +00:00
des
fb71994ea2 Long-forgotten patch: list prstats 2002-04-15 06:35:36 +00:00
ru
085e16fca5 Add a tool (and the first application of it) that could be used
to automate building of libraries.

Prodded by:	bde
2002-04-12 19:46:25 +00:00
phk
2a571683e0 Play catch up with the kernel.
Sponsored by:	DARPA & NAI Labs
2002-04-04 16:40:11 +00:00
joe
63534f6287 We might as well show the log message if we're going to produce the patch. 2002-04-01 17:51:27 +00:00
joe
dd3efa6636 Take an option flag to specify that we'd like a patch generated too. 2002-04-01 16:17:12 +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
ru
b6743da387 Finish style fixes. 2002-03-26 13:02:15 +00:00
phk
18a4c2c111 Modernize my email address. 2002-03-25 14:12:49 +00:00
phk
f1e2f70def Link testcase 13 in. 2002-03-24 14:40:15 +00:00
phk
44e53e2154 Add a testcase for the alpha BSD label from beast. 2002-03-24 14:29:39 +00:00
phk
2e93448199 Add a copy of the bsd-label from beast.freebsd.org 2002-03-24 13:54:01 +00:00
phk
91037c66c7 Update to reflect new contents of sys/geom 2002-03-24 11:22:06 +00:00
phk
02b4c46fb1 Some necesary fixups to cope with new location and FreeBSD CVS keyword. 2002-03-17 19:16:14 +00:00
phk
460894ff2e 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
rwatson
af1694b996 NAI DBA update. 2002-03-14 20:08:51 +00:00
joe
9013c37b04 Add a tool that I've written to help with finding what other
files/revisions were changed with a particular commit.
2002-02-28 20:12:52 +00:00
phantom
1fc1e7448f Complete '_' hack. 2002-02-07 19:32:40 +00:00
phantom
acf85e1161 . add a hack dedicated to n_himba (or correctly to say problem with his nick
in docbook environment)
. clarify comments
. mention that this script is dedicated to freefall's environment
. add bsd style copyright
2002-02-07 19:27:29 +00:00
phantom
d47492efbe This script has served its purpose. Now its function is one of subfunctions
of recently added cknames.pl.
2002-02-07 19:13:06 +00:00
phantom
98906825c7 Add script to check integrity between access/authors.ent/passwd@freefall 2002-02-07 19:09:49 +00:00
phantom
0cde3e64eb Fix sentence in comment 2002-02-06 18:00:11 +00:00
phantom
2e5cd0fc0e Update description of 'ac' subdirectory 2002-02-06 17:50:05 +00:00
phantom
87ecf15bb7 Add descirptions of scripts in this directory 2002-02-06 17:49:13 +00:00
phantom
90379737f9 Add script that checks contents of .ent files (sorting and addresses) 2002-02-06 17:47:18 +00:00
phantom
a17a2c3284 List of committers was moved out of handbook. Teach 'ac' about new location.
Also teach it about complex entries in access file (or correctly to say
simplify them)
2002-02-06 17:09:08 +00:00
phantom
742fd635ad * fix some warnings
* set WARNS
* few style/whitespace fixes

Submitted by:	ru
2002-02-04 16:17:19 +00:00
phantom
69dd11200d describe localeck
plus some capitalization/whitespace fixes
2002-02-04 14:00:29 +00:00
phantom
f301c446d8 Add simple diagnostic utility to checking for invalid/incomplete
locales
2002-02-04 13:59:16 +00:00
kbyanc
ed7ec83f0d Remove broken attempt to compile libc's malloc source directly; this
allows this tool to compile again. Albeit, now to test a new malloc
implementation one has to install the new libc which may have bad
consequences (i.e. if the new malloc implementation were buggy).

Add logic to workaround malloc's current behaviour of returning an
invalid non-NULL pointer for 0 byte allocation requests; this prevents the
tool from coring during the NOPS loop.

Add $FreeBSD$ tags.
2002-01-02 06:42:34 +00:00
kbyanc
4138d6fd95 Include definition for struct namecache (it isn't exported via any header)
so this builds again. Replace hardcoded name length magic with NAME_MAX.
2002-01-02 06:25:39 +00:00
jkh
f71e1cbaa4 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
sheldonh
7abf74ba20 Correct misattribution of the Hart list, which I had mistakenly
attributed to Heckenbach.
2001-12-01 13:08:20 +00:00
sheldonh
af9a546450 Add the script that will be used to maintain src/share/misc/pci_vendors.
The script written and used originally by msmith has been lost.

This version takes the Boemler and Heckenbach lists and produces merged
output.  It defaults to ignoring any entries from Heckenbach already
found in Boemler but the -l option causes it to take the entry with the
longest description where an entry appears in both lists.

If this script is replaced, care should be taken to

1) Always use upper-case hexidecimal tokens in device ids.

2) Always keep device lists sorted within vendor lists, which must also
   be sorted.

3) Do not try to include input from the previous pci_vendors file, since
   bogus ids seem to be removed from both the Boemler and Heckenbach
   lists from time to time.
2001-11-22 14:26:30 +00:00
des
42cf4af882 Now it gets interesting... 2001-11-13 00:51:00 +00:00
des
b7547e7413 Use a slightly less predictable temp file name, remove a stale list of PRs
with corrupted submission dates (they were fixed on freefall a while ago),
and uncomment the code that removes the temp file when we're done.
2001-11-13 00:07:21 +00:00
des
7002c0a210 This is a PR statistics-gathering script I wrote a while ago. It currently
doesn't do much of interest except produce graphs similar to phk's.
2001-11-12 23:59:56 +00:00
phk
4fe31a633b Update. 2001-11-05 22:07:44 +00:00
phk
1304746cba This is long since unused. 2001-11-05 22:06:33 +00:00
phk
22696e16e8 This simple shell-script tries to find *.c files under /sys
which are not in some way used or referenced somewhere.
2001-11-05 22:06:09 +00:00
dfr
9f90cf9c52 Make a start at a regression test for the unaligned trap handler. 2001-10-19 22:10:13 +00:00
fenner
1e7fe9f955 The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d).  Return (and handle)
 ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days
2001-10-17 04:12:29 +00:00
asmodai
a0ca581fb2 Add $FreeBSD$.
Describe the other two directories in here.
2001-10-08 12:28:31 +00:00
rwatson
d7c26820a7 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
rwatson
7e6f69ce22 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
ache
4a86803488 ISO_ -> ISO 2001-06-11 01:29:40 +00:00
ru
90fde797f7 Added support for all new install(1) options.
Removed -c from the actual call as -p implies "copy".
2001-05-28 16:53:01 +00:00
phk
b1fdc60dc8 Update this to reflect changes in config(8) usage.
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
rwatson
21239d2a43 o Add a comment identifying the "privileged on privileged" scenario.
Obtained from:	TrustedBSD Project
2001-04-13 16:38:34 +00:00
rwatson
1cb616d497 o Add inter-process authorization uid regression testing for ktrace().
Obtained from:	TrustedBSD Project
2001-04-13 16:25:25 +00:00
rwatson
d0cc80f445 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
rwatson
d4d2bc9b71 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
rwatson
322fad03bd 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
rwatson
5091a293b0 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
asmodai
3065478332 Preceed/preceeding are not english words. Use precede and preceding. 2001-02-18 10:43:53 +00:00
phk
5977e97236 Look for modules in /boot/kernel these days. 2001-01-18 22:36:34 +00:00
phk
f825217768 The latest & greatest unused #include spotter. Faster, one-pass and
more precise than ever.

1230 hits on the current kernel.
2000-10-28 21:44:05 +00:00
phk
78febb770f Teach kerninclude to check <machine/*> #includes as well.
Currently it finds 2072 supposedly unneeded #includes in the first pass.
2000-10-13 12:03:01 +00:00
phk
f113db530b Use "make LINT" to create our LINT config 2000-09-25 12:40:39 +00:00
wollman
dfd657f747 Fix compilation problems and bounds-checking bug in `ifinfo'.
PR:		21177
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2000-09-13 19:53:54 +00:00
phk
c907983705 Make this work with current makefiles again. 2000-08-21 14:42:48 +00:00
alex
0c24155ff5 - Add $FreeBSD$
- Refer to the README files in the subdirs.
2000-08-13 14:46:31 +00:00
jake
961b97d434 Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
jake
d93fbc9916 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
phk
608e488b33 Use profiling on LINT.
cosmetics.
2000-04-27 19:58:57 +00:00
wollman
bf9193e8ba Add a little test program to demonstrate POSIX Shared Memory Objects. 2000-04-22 15:29:21 +00:00
sheldonh
eb84051ad9 Correct grammar in the synoptic comment.
Submitted by:	ru
2000-03-03 09:25:00 +00:00
sheldonh
a7cdf0700b Use double-quotes instead of single-quotes when displaying the usage
so that the shell interpolates $0.

PR:		17121
Submitted by:	Peng HaiJie <phj@cn.FreeBSD.org>
2000-03-02 15:00:53 +00:00
dufault
be90ff87f3 These are regression tests for the P1003.1B scheduler.
Approved by:	jkh
2000-02-16 14:28:42 +00:00
marcel
021e5674ba Don't use -C internally. Use -c. For some reason files are not copied
with -C, although they should.
1999-12-15 18:08:56 +00:00
marcel
c48451203a Use install -C -p instead of cp -p.
Pointed out by: bde
1999-12-10 10:14:06 +00:00
marcel
a0589eb4aa install(1) lookalike that can be used during a build. Any options
are ignored and the remaining is passed on to cp(1). This allows
a build to be run as non-root without forcing any user/group
setting and also prevents setting any file flags.

This may not be the right place for buildtools.
1999-12-08 13:40:44 +00:00
wosch
a32554879f Include BSD-license.
PR:		misc/15262
Submitted by:	 alex@big.endian.de
1999-12-06 22:33:40 +00:00
phantom
316924e9e4 Bring ``ac'' into reality. This great tools now works correctly (for
current state of the tree)
1999-11-04 08:45:02 +00:00
phantom
d02421bc71 Add short description of dumpvfscache 1999-11-04 08:42:29 +00:00
phk
031a7ae6a8 Add the machine that goes "BINGO" every time an potentially
unused #include is spotted in the kernel sources.

(This commit message celebrates Monty Pythons 30year aniversary)
1999-10-11 19:43:44 +00:00
archie
eec6675661 Remove the "diffburst" tool, because equivalent functionality is now available
via "split -p". Leave a note to this effect in the README file.
1999-09-22 23:48:58 +00:00
phantom
22ec43fd24 mdoc(7) style fixes.
PR:		docs/13408
Reviewed by:	mpp
1999-09-05 06:02:03 +00:00
mpp
02b18f847f Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
bde
11b4b3493e Look for symbols in /modules/*.ko, not in /lkm/*.o. 1999-07-29 07:12:01 +00:00
jkh
497b100251 Move the proper set of libraries. 1999-04-05 21:41:56 +00:00
jkh
1f0aa9e3b4 Do a better job of finding the default root device. 1999-02-15 02:22:24 +00:00
joerg
45f0d59ad0 Fix a typo describing the filename of cvt-wtmp.
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-07 20:30:56 +00:00
jkh
7daacd98cd Make directories unconditionally to deal with the empty directory
case.

Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-01 12:45:03 +00:00
jkh
ffb1d4de51 Make building the kernel conditional. 1999-01-27 03:18:33 +00:00