Commit Graph

20 Commits

Author SHA1 Message Date
jmmv 2c2857e920 Add some basic tests for rc.d scripts to validate the execution of
subcommands and the optional argument passing to them from the command
line.

Triggered by the modification of the run_rc_command function in rc.subr
to allow passing in extra parameters to the commands defined in rc.d
scripts.
2010-03-15 19:03:08 +00:00
mrg fa38305b2e avoid most of the SUBDIRs if MKATF == "no". 2009-12-15 03:01:48 +00:00
dyoung 2e43373a96 Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists.  If
$MKKMOD == no, do not install modules tests.
2009-11-05 17:34:25 +00:00
pooka b4d274c027 add regression tests for dlinfo() 2009-09-24 21:33:45 +00:00
joerg d6e219476b Add a fast, platform independent hash function to libc.
The algorithm used is the Jenkins hash.  The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.

Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
pooka 80be26da9a add regression test for module init/fini in rump 2009-05-02 16:02:18 +00:00
jmmv 99635d94f8 Add the kernel-level tests developed by Lukasz Strzygowski as part of the
atfify GSoC 2008 project.
2009-02-20 21:39:57 +00:00
jmmv fd2c7cbdc1 Convert libcrypto tests to ATF. Original work done by Lukasz Strzygowski
in the GSoC 2008 atfify project.  Reorganization of files and build system
reworked by me.
2009-02-13 20:58:13 +00:00
pooka 1838cc2a07 Add a regression test for the descriptor passing panic. 2009-02-10 13:43:54 +00:00
jmmv 0cdcf7cea6 Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
pooka 8c10597be5 Don't descend into modules on evbppc.. sigh 2008-12-08 12:39:04 +00:00
gmcgarry f8eb853c86 Don't descend into atf with (${MKATF} == no) 2008-08-16 23:51:51 +00:00
jmmv d387334f48 Descend into modules. This is unconditional; see the comment in
modules/Makefile for details about why it cannot depend on MKMODULAR.
2008-02-10 12:40:41 +00:00
jmmv e44ee884d0 Add regression tests for low-port allocation in connect and listen, which
was broken and fixed recently in:
http://mail-index.netbsd.org/source-changes/2007/12/16/0011.html

Test-case code provided by elad@.
2007-12-23 13:50:22 +00:00
jmmv 80c834ed18 Explicitly define TESTSDIR, because the automatic deduction of its value
breaks the build if some component of NETBSDSRCDIR is a symlink.  Reported
by drochner@.
2007-11-21 15:39:33 +00:00
jmmv 98380f8b63 Convert the regress/games tests to the atf
This change converts all the existing regression tests in regress/games
to the new framework provided by atf.  As a side effect, this also moves
all the tests programs in regress/games to tests/games.
2007-11-12 15:19:45 +00:00
jmmv 9b7401e7cb Convert the regress/sys/fs/tmpfs tests to the atf
This change converts all the existing regression tests in
regress/sys/fs/tmpfs to the new framework provided by atf.  As a side
effect, this also moves all the tests programs in regress/sys/fs/tmpfs to
tests/fs/tmpfs.
2007-11-12 15:18:07 +00:00
jmmv 65926be28b Convert the regress/bin tests to the atf
This change converts all the existing regression tests in regress/bin to
the new framework provided by atf.  As a side effect, this also moves all
the tests programs in regress/bin to tests/util, as they all belong to
utilities installed by the base-util-root package.
2007-11-12 15:13:58 +00:00
jmmv 3b0ca37dba Add the atf tests
This adds reachover Makefiles to build and install the atf tests.
2007-11-12 15:09:26 +00:00
jmmv 4d9b8b6a50 Add the tests.tgz set
This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
2007-11-12 15:06:45 +00:00