Ruslan Ermilov
f898af652d
Fixed typos.
2002-06-06 14:08:04 +00:00
Ruslan Ermilov
c2968c8831
Tidy up.
2002-06-06 14:07:45 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Ruslan Ermilov
a040962b89
Update for current /usr/src.
2002-05-28 08:25:29 +00:00
Dag-Erling Smørgrav
a82b0a83af
Mutex statistics script.
2002-05-26 12:02:36 +00:00
Poul-Henning Kamp
a05068c0d6
Update to match kernel side.
...
Sponsored by: DARPA & NAI Labs.
2002-05-21 20:42:51 +00:00
Poul-Henning Kamp
425b005dba
Catch up with recent events.
...
Sponsored by: DARPA & NAI Labs.
2002-05-19 18:57:03 +00:00
Juli Mallett
b30e60d8b4
Regenerate with new output grouping in uuencode -m.
2002-05-17 12:27:31 +00:00
Tom Rhodes
9b51759707
file system > filesystem
2002-05-16 05:03:56 +00:00
Juli Mallett
a9b736ad72
Add a regression test for bin/5297, regarding sysv substitution with a nil
...
left-hand-side.
2002-05-05 19:02:30 +00:00
Juli Mallett
de8541ffe6
Add a test for the -R option.
2002-05-03 18:44:43 +00:00
Juli Mallett
af2c59f62e
Regenerate -I output since an argument bogon in the -I code was fixed, among
...
other things.
2002-05-03 14:31:28 +00:00
Poul-Henning Kamp
c2ca8f13d4
Modernize
2002-05-02 20:09:14 +00:00
Poul-Henning Kamp
dafa52b753
Un-rot the VOP_ table generator.
2002-05-02 13:51:04 +00:00
Juli Mallett
4b7f276dfd
Redirect stdin from the input file, rather than passing the input file to
...
uuencode(1), and set a umask, so that the mode in the header is predictable.
If it varies, then the test is right to fail.
Remove the note about this test falsely failing, with that in mind.
2002-04-27 03:11:33 +00:00
Juli Mallett
624abf8519
Prefix tests with PASS and FAIL, to make grepping easier, and note this in
...
the README.
This affects only the base-system regression tests, of course.
2002-04-27 02:26:23 +00:00
Poul-Henning Kamp
ec15613777
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
Poul-Henning Kamp
629d50078d
Add -DKERNELSIM so the test cases compile with the kernel simulation.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 21:00:50 +00:00
Poul-Henning Kamp
fdc34af09a
Improve the output in case of inserts or deleted.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:59:31 +00:00
Poul-Henning Kamp
00d1e0f678
Prepare the .conf XML comparator for a more kosher XML format.
...
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:33:04 +00:00
Dag-Erling Smørgrav
d397408818
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
Juli Mallett
151740b470
For the P function, the newline must be considered a part of the pattern
...
space, so when printing it, don't let the pattern space and the output run
into eachother by omitting the \n when printing.
2002-04-21 01:27:05 +00:00
Juli Mallett
dd281fa589
Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152,
...
and for proper behaviour of some sed functions given a nil pattern space,
as fixed in PR 34813.
The test for G was based on the test in the PR. The nil pattern space test
is slightly different as we need to get *some* output, as the core dump will
also produce no output (old behaviour) and turn up falsely that the utility
is working fine.
2002-04-21 01:04:03 +00:00
Juli Mallett
6d3ca9de2c
Check to see if make(1)'s handling of doubly-defined targets is busted or
...
not. A lot relies on this.
2002-04-21 00:41:37 +00:00
Juli Mallett
533e28dbe1
Only exit at the end of a test, exit with the last value of $? that was not 0.
...
This way the entire regression test is looked at as a pass/fail, not just one
sub-test.
2002-04-21 00:18:29 +00:00
Juli Mallett
6541d27cad
Add a test of variable evaluation and substitution for make(1), as a start
...
of tests for it.
2002-04-20 20:57:00 +00:00
Juli Mallett
3f288cae2d
Add a test for jot(1).
2002-04-20 19:41:30 +00:00
Juli Mallett
3df2cd2cc9
A simple test for join(1) based on tjr's test case for -o 0.
...
Partially based on: PR standards/36072
2002-04-20 19:33:23 +00:00
Juli Mallett
64928717a3
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
Juli Mallett
f8b175feba
Add regression tests for parts of xargs(1).
2002-04-20 18:46:33 +00:00
Juli Mallett
2cf0f79dcb
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
Juli Mallett
4de8dc48de
Add uuencode(1) and uudecode(1) regression test input and output.
2002-04-20 17:58:13 +00:00
Juli Mallett
88ef037391
Start adding framework for userland regression tests, and tests for
...
uuencode and uudecode.
2002-04-20 17:20:21 +00:00
Poul-Henning Kamp
6fe599457d
update the reference vector.
2002-04-16 16:11:29 +00:00
Poul-Henning Kamp
3db8420666
Forgot to commit the updates to the regression test suite.
...
Sponsored by: DARPA & NAI labs.
2002-04-16 11:42:13 +00:00
Dag-Erling Smørgrav
96671974e1
Long-forgotten patch: warn if a closed PR has no "closed by"
2002-04-15 06:36:22 +00:00
Dag-Erling Smørgrav
d4f5290e7d
Long-forgotten patch: list prstats
2002-04-15 06:35:36 +00:00
Ruslan Ermilov
4d8bba465e
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
Poul-Henning Kamp
fead6f3f5b
Play catch up with the kernel.
...
Sponsored by: DARPA & NAI Labs
2002-04-04 16:40:11 +00:00
Josef Karthauser
57e778ac14
We might as well show the log message if we're going to produce the patch.
2002-04-01 17:51:27 +00:00
Josef Karthauser
0b6b585a31
Take an option flag to specify that we'd like a patch generated too.
2002-04-01 16:17:12 +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
Ruslan Ermilov
6239d3aebd
Finish style fixes.
2002-03-26 13:02:15 +00:00
Poul-Henning Kamp
42c159fe38
Modernize my email address.
2002-03-25 14:12:49 +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
Josef Karthauser
49ae32af4f
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
Alexey Zelkin
b5ed0bcd23
Complete '_' hack.
2002-02-07 19:32:40 +00:00
Alexey Zelkin
dca7443ba8
. 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
Alexey Zelkin
99349513d0
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
Alexey Zelkin
d97a65d2a1
Add script to check integrity between access/authors.ent/passwd@freefall
2002-02-07 19:09:49 +00:00
Alexey Zelkin
7658e887d3
Fix sentence in comment
2002-02-06 18:00:11 +00:00
Alexey Zelkin
e0738f01ca
Update description of 'ac' subdirectory
2002-02-06 17:50:05 +00:00
Alexey Zelkin
1afcdc8a91
Add descirptions of scripts in this directory
2002-02-06 17:49:13 +00:00
Alexey Zelkin
f1c3a0188c
Add script that checks contents of .ent files (sorting and addresses)
2002-02-06 17:47:18 +00:00
Alexey Zelkin
d6d290cbca
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
Alexey Zelkin
364a805b9f
* fix some warnings
...
* set WARNS
* few style/whitespace fixes
Submitted by: ru
2002-02-04 16:17:19 +00:00
Alexey Zelkin
df3cc3c14d
describe localeck
...
plus some capitalization/whitespace fixes
2002-02-04 14:00:29 +00:00
Alexey Zelkin
ac6e0aed98
Add simple diagnostic utility to checking for invalid/incomplete
...
locales
2002-02-04 13:59:16 +00:00
Kelly Yancey
adeb92a24c
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
Kelly Yancey
f1d24f0dfd
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
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
Sheldon Hearn
41bab7c80f
Correct misattribution of the Hart list, which I had mistakenly
...
attributed to Heckenbach.
2001-12-01 13:08:20 +00:00
Sheldon Hearn
a320ca2f9a
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
Dag-Erling Smørgrav
e568548eee
Now it gets interesting...
2001-11-13 00:51:00 +00:00
Dag-Erling Smørgrav
21dc7ada34
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
Dag-Erling Smørgrav
89090fe2ba
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
Poul-Henning Kamp
c8ac4faa0b
Update.
2001-11-05 22:07:44 +00:00
Poul-Henning Kamp
ddc38af27b
This is long since unused.
2001-11-05 22:06:33 +00:00
Poul-Henning Kamp
c64a712a37
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
Doug Rabson
9c2de1cd14
Make a start at a regression test for the unaligned trap handler.
2001-10-19 22:10:13 +00:00
Bill Fenner
b9d45cebf4
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
Jeroen Ruigrok van der Werven
59b9066490
Add $FreeBSD$.
...
Describe the other two directories in here.
2001-10-08 12:28:31 +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
Andrey A. Chernov
c09ed64a72
ISO_ -> ISO
2001-06-11 01:29:40 +00:00
Ruslan Ermilov
2c745214f2
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
Poul-Henning Kamp
cbfc3f7c5c
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
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
Jeroen Ruigrok van der Werven
d7d97eb0aa
Preceed/preceeding are not english words. Use precede and preceding.
2001-02-18 10:43:53 +00:00
Poul-Henning Kamp
5683c3dd1f
Look for modules in /boot/kernel these days.
2001-01-18 22:36:34 +00:00
Poul-Henning Kamp
a1b75a424f
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
Poul-Henning Kamp
0b4ff393d4
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