| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
because of a make bug that should be fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
| |
on the command line and really executes the shell instead of directly
executing the command.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
make with another shell and set all its parameters (meta and builtins
not tested here).
|
|
|
|
| |
changing the path of a builtin shell.
|
|
|
|
| |
o -x option added.
|
|
|
|
| |
Submitted by: Max Okumoto <okumotu@ucsd.edu> (partly, initial version)
|
| |
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.
|
|
|
|
|
| |
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?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
in .MAKEFLAGS targets enable the regression test for this.
|
|
|
|
|
|
| |
software (original contributor).
Reviewed by: imp
|
|
|
|
| |
Spotted by: ru
|
|
|
|
|
|
| |
they are not needed and will actually be printed.
Submitted by: ru
|
| |
|
|
|
|
| |
variable assignments via the MAKEFLAGS environment variable.
|
|
|
|
|
|
| |
from the original author of math.sed.
Submitted by: K S Braunsdorf <sed@ksb.npcguild.org>
|
|
|
|
| |
of make/str.c.
|
| |
|
|
|
|
|
|
| |
and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Reminded by: bde
In memory of: alane
|
|
|
|
| |
a zero-length string. This shows bugs in the s///g and s///2+ cases.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
errors/warnings related to crud in said test block.
|
|
|
|
|
| |
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
|
| |
|
|
|
|
|
|
| |
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$.
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
transliterate to use echo -n to supress newline and a simple string.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
at an EOL/EOF, and therefore should catch the broken behaviour fixed by
Tim J. Robbins in sed(1) recently.
Suggested by: obrien
|
|
|
|
| |
even slightly. Grrr CVS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ungracefully.
|
|
|
|
| |
might be able to figure out how to write some of these tests (hint hint).
|
|
|
|
| |
Goodbye, duplicated code, you will certainly not be missed.
|