Commit Graph

207 Commits

Author SHA1 Message Date
jmallett
62cedbf5fc Add a regression test for bin/5297, regarding sysv substitution with a nil
left-hand-side.
2002-05-05 19:02:30 +00:00
jmallett
e13651801a Add a test for the -R option. 2002-05-03 18:44:43 +00:00
jmallett
7b25b4fef0 Regenerate -I output since an argument bogon in the -I code was fixed, among
other things.
2002-05-03 14:31:28 +00:00
phk
b1a9ff423d Modernize 2002-05-02 20:09:14 +00:00
phk
a17be2ef95 Un-rot the VOP_ table generator. 2002-05-02 13:51:04 +00:00
jmallett
8dbee4c20b 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
jmallett
300c1a11c0 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
phk
51db5da3ff 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
phk
58cdadc9ad Add -DKERNELSIM so the test cases compile with the kernel simulation.
Sponsored by: DARPA & NAI Labs.
2002-04-24 21:00:50 +00:00
phk
155395406f Improve the output in case of inserts or deleted.
Sponsored by: DARPA & NAI Labs.
2002-04-24 20:59:31 +00:00
phk
024e952d8c Prepare the .conf XML comparator for a more kosher XML format.
Sponsored by:	DARPA & NAI Labs.
2002-04-24 20:33:04 +00:00
des
4d6b787d2d 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
jmallett
3881ce8d9c 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
jmallett
2ef068fe8d 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
jmallett
a1b2db8692 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
jmallett
4ccd5a9073 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
jmallett
723f201ed8 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
jmallett
24f13e9ab3 Add a test for jot(1). 2002-04-20 19:41:30 +00:00
jmallett
7c76f6f023 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
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