History log of /freebsd-9.3-release/tools/regression/usr.bin/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


259444 16-Dec-2013 eadler

MFC r259132,r259133:
Per the resolution of POSIX bug 0000779 (note 0002050) add support for using 'i'
as a case insensitive flag.

Add regression test for recently added 'i' flag in r259132.

PR: standards/184641


246277 03-Feb-2013 eadler

MFC r244407,r244409:
POSIX requires that non-existent or null arguments be treated as if a
zero argument were supplied.

Add regression tests to catch this case as well.

PR: bin/174521
Approved by: cperciva (mentor, implicit)


237100 14-Jun-2012 obrien

MFC: r236338, r236339, r236346, r236347, r236365, & r236977
* Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)
modifiers for ":tu" and ":tl".
* make it easier to test newly-built make.
* Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
* regression test for '-V' command line option and the :t[lu] modifiers.


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


222418 28-May-2011 jilles

printf: Allow multibyte characters for '<char> form, avoid negative codes.

Examples:
LC_ALL=en_US.UTF-8 printf '%d\n' $(printf \'\\303\\244)
LC_ALL=en_US.ISO8859-1 printf '%d\n' $(printf \'\\344)
Both of these should print 228.

Like some other shells, incomplete or invalid multibyte characters yield the
value of the first byte without a warning.

Note that there is no general way to go back from the character code to the
character.


217134 08-Jan-2011 jilles

sed: Add test for r217133 (-i race).

PR: bin/153261
MFC after: 2 weeks


216311 08-Dec-2010 jilles

printf: Test that the "--" option terminator works.


213284 29-Sep-2010 jilles

tr: Fix '[=]=]' equivalence class.

A closing bracket immediately after '[=' should not be treated as special.

Different from the submitted patch, a string ending with '[=' does not cause
access beyond the terminating '\0'.

PR: bin/150384
Submitted by: Richard Lowe
MFC after: 2 weeks


208802 04-Jun-2010 maxim

o The typo was intended as it stated in the comment. Revert last.

Spotted by: dfr


208797 04-Jun-2010 maxim

o Fix typo: .uudef -> .undef.

PR: misc/147462
Submitted by: Erik Cederstrand


208728 02-Jun-2010 brian

Fix stuttering sequences and reverse ranges

PR: 123635
Submitted by: Ulrich Spörlein, uqs at spoerlein dot net


205427 21-Mar-2010 edwin

Replace -b with -C and -B (as proposed by Alexander).
Add -3, -A and -B to the usage.
Update regression test for the new parameters.


205147 14-Mar-2010 edwin

Create regression tests for ncal:

- A couple of tests to check if the layout of the generated calenders
is correct.

- A couple of tests to see if impossible combinations for -3, -A,
-m, -y etc properly abort.

- A couple of test to confirm that the order of -A, -B, -3 etc give
the right number of months.


204761 05-Mar-2010 jh

- Use errx(3) instead of err(3) when checking if snprintf(3) succeeded.
snprintf(3) doesn't set errno in the tested cases.
- If the same argument reference (for example %1) was specified more than
once, the command didn't necessarily fit to the final command buffer. Fix
this using a dynamic sbuf buffer. Add a few regression tests for the case.

PR: bin/95079
No objections: freebsd-hackers


203952 16-Feb-2010 uqs

Add missing newline in last line of file.

Uncovered via: fromcvs vs. svn
Approved by: ed (co-mentor)


203802 12-Feb-2010 pjd

- Implement -q option for pgrep(1).
- Add regression test to test -q option.


201526 04-Jan-2010 obrien

Add ability to search up the directory hierarchy for the system directory.
Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable.

Reviewed by: <sjg@NetBSD.org>
Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD)


201491 04-Jan-2010 obrien

Fix formatting.


201490 04-Jan-2010 obrien

There are actually 129 tests here.


201489 04-Jan-2010 obrien

Catch up with UNIX98-style PTY's.


201488 04-Jan-2010 obrien

'prove -r' isn't as smart as grog thought.


201482 04-Jan-2010 obrien

You need to be root to run this test.


201480 04-Jan-2010 obrien

Don't process 'lastcomm' if "AUTOMATED" is defined.
The tests for it require manual setup.


201479 04-Jan-2010 obrien

It is expected these are chmod +x.


201478 04-Jan-2010 obrien

Regression test for r201456.


201426 03-Jan-2010 obrien

Provide clean output with 'prove -r'.


201333 31-Dec-2009 obrien

Delete the svn:mime-type property from these text files.


200442 12-Dec-2009 jh

Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases. [1]

PR: bin/140976
Submitted by: D'Arcy Cain (original version) [1]
Approved by: trasz (mentor)


199141 10-Nov-2009 jhb

Purge some useless mergeinfo.


197509 25-Sep-2009 des

Wipe out mergeinfo.


197362 20-Sep-2009 dds

IEEE Std 1003.1, 2004 Edition states:

"The escape sequence '\n' shall match a <newline> embedded in
the pattern space."

It is unclear whether this also applies to a \n embedded in a
character class. Disable the existing handling of \n in a character
class following Mac OS X, GNU sed version 4.1.5 with --posix, and
SunOS 5.10 /usr/bin/sed.

Pointed by: Marius Strobl
Obtained from: Mac OS X


197361 20-Sep-2009 dds

Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementation
of the y (translate) command.

"If a backslash character is immediately followed by a backslash
character in string1 or string2, the two backslash characters shall
be counted as a single literal backslash character"

Pointed by: Marius Strobl
Obtained from: Mac OS X


197360 20-Sep-2009 dds

Add correct test results.


197357 20-Sep-2009 dds

Describe how other systems treat this case.


197356 20-Sep-2009 dds

Allow [ to be used as a delimiter.

Pointed by: Marius Strobl
Obtained from: Apple


197352 20-Sep-2009 dds

The transition to Subversion allows us to rename files without
repo-copy hacks.
Remove the test-number prefix from the name of the output files,
so that new test cases can be easily added.


195443 08-Jul-2009 brian

Fix some uninitialise variables.

PR: 136383
Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net
Approved by: re (kib)
MFC after: 3 weeks


192733 25-May-2009 brian

Regression test the 'addr1,+N' feature added in r192732


189613 10-Mar-2009 rwatson

Rename files that collide on case-insensitive file systems by encoding
colliding upper case letters as the lower case letter with a '_' in
front.

MFC after: 3 days
Discussed with: ed
Spotted by: Michael David Crawford <mdc at prgmr.com>


187332 16-Jan-2009 ed

Allow jot(1) regression tests to be checked out on Windows filesystems.

The jot(1) regression tests directory contained two tests named `wx' and
`wX', which doesn't work on case insensitive filesystems. Rename `wX' to
`wX1'.

MFC after: 1 month


184852 11-Nov-2008 dds

Add a test for the "or more" part of the following POSIX specification.

"A function can be preceded by one or more '!' characters, in which
case the function shall be applied if the addresses do not select
the pattern space."


180208 03-Jul-2008 peter

Set magic fbsd:nokeywords property that allows files to bypass
keyword expansion. (file-specific replacement for CVSROOT/exclude)


175289 13-Jan-2008 keramida

Attach the tr(1) regression tests to the build.

Approved by: das, dds


175288 13-Jan-2008 keramida

Add a new set of regression tests, for the tr(1) utility.

Approved by: das, dds


174656 16-Dec-2007 dds

Make the reported number of tests match their actual number.
This fixes the reporting under prove(1)


174655 16-Dec-2007 dds

cd to the correct directory so that the tests can be run from prove(1)


171285 06-Jul-2007 delphij

Add a test case for sed(1) regression - we should not ignore case
when not being asked to do so.

Approved by: re (hrs)


171206 04-Jul-2007 ssouhlal

Add case-insensitive matching to sed, using the 'I' flag, similarly to GNU sed.
For example,
sed /foo/Id
sed s/foo/bar/Ig

Reviewed by: dds
Approved by: re (hrs)


170608 12-Jun-2007 yar

Don't forget to clear out the hold space for each subsequent file
when in -i mode so that each file gets a clean context of its own.

Add a regression test for the bug.

Tested with: regression tests


170448 09-Jun-2007 grog

Updated tests for changed features.

Submitted by: edwin@


170261 04-Jun-2007 grog

Use correct comment syntax for $FreeBSD$. This file gets put through
cpp, not a shell script.

Pointy hat to: grog


170231 03-Jun-2007 grog

Add regression tests for calendar.

Submitted by: edwin@
PR: bin/113275
MFC after: 2 weeks


169928 24-May-2007 dds

Add sparc64 regression test files.

Submitted by: Carl Johan Gustavsson


169927 24-May-2007 dds

Modify file generation instructions to remove the tty field:
the mapping from number to name differs between systems,
and will cause tests to fail.


169856 22-May-2007 dds

Regression tests for sparc64 record formats.

Submitted by: Carl Johan Gustavsson


169855 22-May-2007 dds

Regression tests for amd64 file and record formats.

Submitted by: Larry Rosenman (who also provided access to a testing host)


169854 22-May-2007 dds

Regression tests for the new and legacy process accounting formats.


168921 21-Apr-2007 yar

Change the semantics of -i (in-place editing) so that it treats
each file independently from other files. The new semantics are
desired in the most of practical cases, e.g.: delete lines 5-9
from each file.

Keep the previous semantics of -i under a new option, -I, which
uses a single continuous address space covering all files to edit
in-place -- they are too cool to just drop them.

Add regression tests for -i and -I.

Approved by: dds
Compared with: GNU sed
Discussed on: -hackers
MFC after: 2 weeks


168259 02-Apr-2007 yar

Logically separate the complex `hanoi' and `math' tests from basic tests.


168258 02-Apr-2007 yar

Don't forget to close the range if we branched over its end
and had no chance to match it by the 2nd address precisely.
Otherwise the unclosed range would bogusly extend to the end
of stream.

Add a basic regression test for the bug fixed. (This change
also fixes the more complex case 5.3 from `multitest.t'.)

Compared with: SUN and GNU seds
Tested by: regression tests
MFC after: 1 week


168257 02-Apr-2007 yar

Today SUN and GNU seds fully agree on test 5.3 and behave
in a more reasonable way than BSD sed does: they properly
close the range even if we branched over its end. No doubt,
the range `1,5' should not match lines from 9 through 14.


168211 01-Apr-2007 yar

This trivial change should fix at least 3 similar bugs. All of
them are related to the `c' function's need to know if we are at
the actual end of the address range. (It must print the text not
earlier than the whole pattern space was deleted.) It appears the
only sed function with this requirement.

There is `lastaddr' set by applies(), which is to notify the `c'
function, but it can't always help because it's false when we are
hitting the end of file early. There is also a bug in applies()
due to which `lastaddr' isn't set to true on degenerate ranges such
as `$,$' or `N,$' if N appears the last line number.

Handling early EOF condition in applies() could look more logical,
but it would effectively revert sed to the unreasonable behaviour
rev. 1.26 of main.c fought against, as it would require lastline()
be called for each line within each address range. So it's better
to call lastline() only if needed by the `c' function.

Together with this change to sed go regression tests for the bugs
fixed (c1-c3). A basic test of `c' (c0) is also added as it helped
me to spot my own error.

Discussed with: dds
Tested by: the regression tests
MFC after: 1 week


167569 14-Mar-2007 dds

Rename sed.test to multitest.t to comply with the naming scheme of
the regression suite.


167555 14-Mar-2007 dds

Reinstate error-testing regression tests.


167552 14-Mar-2007 dds

Integrate the tests I wrote in 1992 with our current regression
testing framework and protocol.


167550 14-Mar-2007 dds

Reference results for sed.test (to be renamed into multitest.t).
I have verified these with GNU sed 4.1.5 (and in some cases with Solaris
sed) and they are identical, with the following exceptions:
5.3: The result is unspecified and BSD sed behaves differently.
6.3: GNU sed gets it wrong
7.1: GNU sed gets it wrong
7.8: BSD sed gets it wrong


167549 14-Mar-2007 dds

- Uncomment tests that were commented out
- Update platform-conditional tests to reflect current reality
- Fix conditional for test 7.8: it is the fault of BSD sed


167547 14-Mar-2007 dds

- It looks like BSD and GNU sed can nowadays pass two more tests.
- Test 7.8 fails for GNU sed not BSD.


167546 14-Mar-2007 dds

Use another non-printing test; address 0 now has a special meaning in GNU sed.


167544 14-Mar-2007 dds

Update tests to reflect the state of the art of sed in HEAD and
GNU sed 4.1.5.
Almost all of the tests that were skipped for BSD or GNU sed
now appear to work.


167537 14-Mar-2007 dds

Add sed math regression test.


167536 14-Mar-2007 dds

Add Towers of Hanoi regression test.


167531 14-Mar-2007 dds

Add missing newline to correct failure of the regression test.
According to IEEE Std 1003.1, 2004 "Whenever the pattern space is
written to standard output or a named file, sed shall immediately
follow it with a <newline>."

An attempt at the same correction might have been made with r1.3,
which is however identical with r1.2.


164856 03-Dec-2006 dds

New test cases demonstrating fixed bugs, and the reason why
fmtcheck can't be used.


164558 23-Nov-2006 yar

Fix and extend the -j option to pkill/pgrep WRT the jail
wildcard specifications. Earlier the only wildcard syntax
was "-j 0" for "any jail". There were at least
two shortcomings in it: First, jail ID 0 was abused; it
meant "no jail" in other utils, e.g., ps(1). Second, it
was impossible to match processed not in jail, which could
be useful to rc.d developers. Therefore a new syntax is
introduced: "-j any" means any jail while "-j none" means
out of jail. The old syntax is preserved for compatibility,
but now it's deprecated because it's limited and confusing.

Update the respective regression tests. While I'm here,
make the tests more complex but sensitive: Start several
processes, some in jail and some out of jail, so we can
detect that only the right processes are killed by pkill
or matched by pgrep.

Reviewed by: gad, pjd
MFC after: 1 week


164041 06-Nov-2006 dds

Add the examples from the manual page.


164040 06-Nov-2006 dds

Updated results for bin/68981

PR: bin/68981


164024 06-Nov-2006 dds

Regress.out is now regress.x.out.


164022 06-Nov-2006 dds

Test the handling of supplied and default parameters.


152158 07-Nov-2005 pjd

Add tests for -t option with short tty name - pkill(1) should accept both
(eg. "ttyv0" and "v0").


151443 18-Oct-2005 harti

Add first tests for semicolon handling. The first test fails. This is
probably a bug in the parser.


151442 18-Oct-2005 harti

Add more tests for escaped newline handling and fix a test that currently
should fail because of a bug in the parser (test 2).


149474 25-Aug-2005 pjd

Add regression tests for '-L' option.


149472 25-Aug-2005 pjd

'-F' option behaviour was reverted, so revert previous commit.


149436 24-Aug-2005 pjd

'-F' option now needs locked pidfile. Modify regression tests respectively.


148024 15-Jul-2005 gad

Correct one regression test (which was expected an incorrect answer), and
add a few more tests. This matches bug fixes recently committed to 'env'.


147522 21-Jun-2005 gad

Upgrade these regression tests to track recent changes to `env'.

Approved by: re (blanket `env')


147495 20-Jun-2005 gad

Add a suite of regression tests for all the recent changes to `env',
using my own script to handle it. I wrote my own partially because
of all the quoting-issues involved with testing what I wanted to test,
and partially because this lets me commit one script and one data file,
instead of one-file-per-regression-test.

This suite was good enough for my initial testing (and it did help me
find a few bugs that would have otherwise been missed). I'm not sure
how well it will work in general use, but I figured I might as well
commit it. It won't *hurt* to have it available. At the worst, people
can just ignore it.

Approved by: re (blanket `env')


146856 01-Jun-2005 harti

Add a test for escaped newline handling.


146855 01-Jun-2005 harti

Add support for TODO tests. These are tests that are supposed to fail,
because of a make bug that should be fixed.


146822 31-May-2005 harti

Change the test infrastructure so that tests are easier to maintain and
so that make(1) will run in an almost clean environment and enhance the
description of the test infrastructure.

Add the ability to have multiple tests carried out per test script.

Give some tests more meaningful names.

Fix the usage message from the test scripts.

Make it possible to pass several commands to the test scripts like:
'sh test.t setup run compare clean'.


146454 20-May-2005 harti

Add a test to check whether in compat mode make detectes builtins
on the command line and really executes the shell instead of directly
executing the command.


146452 20-May-2005 harti

Add a test to ensure that in compat mode when a line contains no
shell meta characters it is not passed to the shell, but the command
is executed directly (given that the line is not a shell builtin) and
that the line with a meta character is passed to the shell.


146449 20-May-2005 harti

Add a test that test whether we can replace the shell to use by
make with another shell and set all its parameters (meta and builtins
not tested here).


146381 19-May-2005 harti

Some test cases for .SHELL target: builtin shell selection and
changing the path of a builtin shell.


146234 15-May-2005 marcel

o -n option added.
o -x option added.


145620 28-Apr-2005 harti

Add an initial regression test suite for make(1).

Submitted by: Max Okumoto <okumotu@ucsd.edu> (partly, initial version)


145086 14-Apr-2005 stefanf

Also test \0 in the format string.


145028 13-Apr-2005 stefanf

Add a few regression tests for printf(1).


143880 20-Mar-2005 pjd

Add regression tests for pkill/pgrep.

MFC after: 3 days


143032 02-Mar-2005 harti

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.


138515 07-Dec-2004 harti

Fix builds with a read-only directory and a make upgrade. This is done
by forcing the creation of an object directory for the make regression
tests. Let make handle the tracking of the dependency and installation
of test_shell script.

Submitted by: ru


138432 06-Dec-2004 ru

Make this work under debugging, e.g., "make -dl".


138317 02-Dec-2004 harti

Make the tests runnable on a read-only src. To do this you must make sure
that you create one of the object directories make knows (see make(1)).
This uses the -C flag, so add a test that checks that make actually accepts
-C. Also fix the test that selects csh via the .SHELL target to work for
tcsh users too.

This commit renames shell_test to shell_test.sh. There is no history
to preserve so go without a repo-copy.

Reviewed by: ru


138227 30-Nov-2004 harti

Chmod the shell testscript to be executable if it isn't already. According
to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.


138080 25-Nov-2004 harti

Add some regression tests for the .SHELL target. I'm not sure that the
output of shell_2j is actually correct - it just tests what make currently
does. Make should switch on echoing for the second line, shouldn't it?


137587 11-Nov-2004 nik

Switch over to a different, more flexible test output protocol that's
understood by Perl's Test::Harness module and prove(1) commands.

Update README to describe the new protocol. The work's broken down into
two main sets of changes.

First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.

Second, provide the .t files that actually run the tests. In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.

Add a TODO file.


136842 23-Oct-2004 ru

Add a regression test for the alternate shell specification.


133593 12-Aug-2004 harti

Now that make more correctly handles variable assignments
in .MAKEFLAGS targets enable the regression test for this.


133385 09-Aug-2004 dds

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived
software (original contributor).

Reviewed by: imp


133165 05-Aug-2004 harti

Back out something I'm working on that crept in with the last commit.

Spotted by: ru


133164 05-Aug-2004 harti

Remove extra spaces. Remove double quotes around error messages -
they are not needed and will actually be printed.

Submitted by: ru


133161 05-Aug-2004 harti

Add another test that checks for a working '+' command flag.


133109 04-Aug-2004 harti

Add a regression test for the passing of command line
variable assignments via the MAKEFLAGS environment variable.


128785 01-May-2004 smkelly

A new version that does exponents and lots of other neat things. Update
from the original author of math.sed.

Submitted by: K S Braunsdorf <sed@ksb.npcguild.org>


125227 30-Jan-2004 ru

Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29
of make/str.c.


125219 29-Jan-2004 ru

Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c.


120676 02-Oct-2003 ru

Fix a bug that prevented exists() from finding "foo/", "foo/."
and "foo/.." when ".PATH: foo" was also given.

PR: bin/34062


117900 22-Jul-2003 dds

Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR: misc/25585
Submitted by: Walter Briscoe <w.briscoe@ponl.com>
Approved by: schweikh (mentor)
MFC after: 2 weeks


117226 04-Jul-2003 ru

Fixed broken arithmetic expression parser.

Reminded by: bde
In memory of: alane


115829 04-Jun-2003 fanf

Add tests for the behaviour of substitution when the regex can match
a zero-length string. This shows bugs in the s///g and s///2+ cases.


110654 10-Feb-2003 gad

The regression-tests for 'make' *expect* to trigger make's warning:
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld'). This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.

Reviewed by: jmallett ru


107375 28-Nov-2002 ru

Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).

Approved by: re


107374 28-Nov-2002 ru

Moved make(1) regression tests from src/Makefile to where they
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.

Approved by: re


105907 25-Oct-2002 jmallett

Hide the test in <target> under '.if make(<target>)' so as to not get any
errors/warnings related to crud in said test block.


100794 28-Jul-2002 jmallett

As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.


99400 04-Jul-2002 tjr

Update another mention of <CR><CR> I missed the first time around (rev 1.2)


99355 03-Jul-2002 tjr

Note that two carriage returns aren't required after entering the
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$.

MFC after: 2 weeks


98913 27-Jun-2002 jmallett

The wrong y/// output got spammed into this file; from green@ indirectly.


98912 27-Jun-2002 green

Correct the psl regression test for sed(1)'s now-fixed newline
behavior. Add the bcb regression test which checks for failures due
to a backslash ('\') coinciding with the very last character of the
command buffer. The regression test is cf. this PR (which I did not
know about) and has a different fix for the bug.

PR: bin/22351
Submitted by: Stefan Duerholt <stefan.duerholt@t-online.de>


98881 26-Jun-2002 jmallett

Erk, I forgot that regress.in has an ending newline, so change the test for
transliterate to use echo -n to supress newline and a simple string.


98812 25-Jun-2002 jmallett

Reduce internal code duplication, add REGRESSION_PASSFAIL([testname]) to
handle printing of the PASS/FAIL messages. Suffix PASS/FAIL/FATAL with the
string (in $directory) where $directory is ${.CURDIR} from make(1), to
make it easier to use grep(1) and a bit of sed/awk to do statistics of
failure for some utilities over time, etc.


98811 25-Jun-2002 jmallett

Add a regression test for transliterate which happens to match characters
at an EOL/EOF, and therefore should catch the broken behaviour fixed by
Tim J. Robbins in sed(1) recently.

Suggested by: obrien


98760 24-Jun-2002 jmallett

I explicitly meant to not move any of this over to the new m4(1) framework,
even slightly. Grrr CVS.


98759 24-Jun-2002 jmallett

Move all remaining tests except for:
make(1): Does not work like the other tests. Its Makefile is
self-testing.
m4(1): It uses complex voodo to test GNU m4(1) features.

To the new framework. I had worried about passing the binary data that
uudecode(1)'s test passes to diff(1) might give a user something nasty,
but this is unlikely to happen as even with an unmodified old nasty
diff(1) which doesn't recognise many binary files, these binary files
are recognised. Using $DIFF instead of `diff' in the library and making
it possible to override this with `cmp -s' might be nice some day, but
as of this second, there's no immediate need.


98758 24-Jun-2002 jmallett

Add two new mostly freeform types of regression tests, and a macro for dying
ungracefully.


98755 24-Jun-2002 jmallett

Comments to describe what these macros do, so that someone other than me
might be able to figure out how to write some of these tests (hint hint).


98754 24-Jun-2002 jmallett

Convert straightforward regression tests to use regress.m4.

Goodbye, duplicated code, you will certainly not be missed.


98752 24-Jun-2002 jmallett

Add a simple (to be expanded) library of functions for the regression tests,
to handle the ones which output to stdout and have output in regress.$test.out,
etc. More freeform macros should and will be written, but these are the most
prominent and most straightforward sort of tests we have around, so it makes
sense to try to accomodate them.


98461 20-Jun-2002 jmallett

Grrr, make the test for embedded variables in the left-hand-side actually do
the right thing in every case. Yuck.


98442 19-Jun-2002 jmallett

Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,
expansion of embedded variables in the left-hand-side of an assignment
expression, using the simplest case - hiding recursion using nil-expanded
variables.


97992 07-Jun-2002 jmallett

Add the m4(1) regression test.


97991 07-Jun-2002 jmallett

Add a regression test for m4(1).

This checks the behaviour of changecom() in both GNU and BSD modes of our m4.


96811 17-May-2002 jmallett

Regenerate with new output grouping in uuencode -m.


96070 05-May-2002 jmallett

Add a regression test for bin/5297, regarding sysv substitution with a nil
left-hand-side.


95995 03-May-2002 jmallett

Add a test for the -R option.


95981 03-May-2002 jmallett

Regenerate -I output since an argument bogon in the -I code was fixed, among
other things.


95542 27-Apr-2002 jmallett

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.


95538 27-Apr-2002 jmallett

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.


95169 21-Apr-2002 jmallett

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.


95168 21-Apr-2002 jmallett

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.


95167 21-Apr-2002 jmallett

Check to see if make(1)'s handling of doubly-defined targets is busted or
not. A lot relies on this.


95166 21-Apr-2002 jmallett

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.


95158 20-Apr-2002 jmallett

Add a test of variable evaluation and substitution for make(1), as a start
of tests for it.


95150 20-Apr-2002 jmallett

Add a test for jot(1).


95148 20-Apr-2002 jmallett

A simple test for join(1) based on tjr's test case for -o 0.

Partially based on: PR standards/36072


95145 20-Apr-2002 jmallett

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.


95142 20-Apr-2002 jmallett

Add regression tests for parts of xargs(1).


95141 20-Apr-2002 jmallett

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.


95140 20-Apr-2002 jmallett

Add uuencode(1) and uudecode(1) regression test input and output.


95138 20-Apr-2002 jmallett

Start adding framework for userland regression tests, and tests for
uuencode and uudecode.


17523 11-Aug-1996 ache

Make it at least semi-worked


1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources