Commit Graph

884 Commits

Author SHA1 Message Date
maxim
e5e29d142d o setsockopt(2) cannot remove accept filter. [1]
o getsockopt(SO_ACCEPTFILTER) always returns success on listen socket
  even we didn't install accept filter on the socket.
o Fix these bugs and add regression tests for them.

Submitted by:	Igor Sysoev [1]
Reviewed by:	alfred
MFC after:	2 weeks
2005-06-11 11:59:48 +00:00
sobomax
9f5f77a9e2 Add entry for recoverdisk. 2005-06-06 00:18:17 +00:00
harti
54f37e8648 Add a test for escaped newline handling. 2005-06-01 11:26:47 +00:00
harti
10c793046d Add support for TODO tests. These are tests that are supposed to fail,
because of a make bug that should be fixed.
2005-06-01 11:25:38 +00:00
harti
316b5bf776 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'.
2005-05-31 14:13:07 +00:00
rwatson
8cf16b63df dd a '-n' option to ministat, which causes it to display only summary
statistics, not graph and statistical test output.  Useful for automated
processing.
2005-05-27 17:52:56 +00:00
harti
e533045bcd 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.
2005-05-20 15:25:04 +00:00
harti
d35d2dfc6f 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.
2005-05-20 15:06:27 +00:00
harti
e956f972da 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).
2005-05-20 14:50:30 +00:00
phk
906cfe30a4 Make the path to make.conf a parameter which can be overridden.
NB: you have to use absolute path!
2005-05-19 15:34:36 +00:00
phk
bb1e88d3de Save space by using -b 4096 -f 512 for newfs.
Retain -i 8192 to avoid wasting inodes.
2005-05-19 15:34:00 +00:00
phk
db59b95e39 Run the "files" customization script 2005-05-19 15:24:23 +00:00
phk
ad5fa596b8 Add some runtime admin/tool scripts 2005-05-19 15:23:47 +00:00
phk
4f1d6dc368 Add a couple of basic customization scripts. 2005-05-19 15:20:49 +00:00
phk
c4f68fb959 Explain the magic 2005-05-19 13:33:21 +00:00
harti
b2f252c7bc Some test cases for .SHELL target: builtin shell selection and
changing the path of a builtin shell.
2005-05-19 11:23:01 +00:00
ru
86758e8895 Make <runefile.h> internal to libc.
Suggested by:	phantom
2005-05-16 09:32:41 +00:00
rwatson
449a09d7f4 Add an #ifdef'd non-blocking version of the test.
Update copyright.
2005-05-16 00:54:47 +00:00
rwatson
b7aef0ed3c Close the connect socket as well as the listen socket on completion.
Update copyright.
2005-05-16 00:53:38 +00:00
marcel
208bfa4234 o -n option added.
o  -x option added.
2005-05-15 07:35:34 +00:00
avatar
5264ecc9eb Catching up with the latest crypto API changes in net80211.
Reviewed by:	sam
2005-05-05 13:16:30 +00:00
ume
9f4066d658 add simple test script. 2005-05-05 11:26:47 +00:00
ume
f0bd095e96 - add $FreeBSD$.
- enable -r option for regress target.
2005-05-04 19:40:30 +00:00
ume
c93d1b9f93 - add $FreeBSD$.
- do service lookup.
- add options to use gethostbyname(3) or getipnodebyname(3) instead
  of getaddrinfo(3).
- add option to do reverse lookup.
2005-05-04 12:02:10 +00:00
ume
8f2ac72729 This commit was generated by cvs2svn to compensate for changes in r145857,
which included commits to RCS files with non-trunk default branches.
2005-05-04 11:55:42 +00:00
ume
d7fda39756 import of parallel name resolution test.
Obtained from:	NetBSD
2005-05-04 11:55:42 +00:00
des
c46ecbdc68 Reduce diffs against actual production configuration. 2005-04-30 18:26:05 +00:00
des
ff75ea1f38 Remove a line which merely echoed the builtin default. 2005-04-30 18:25:01 +00:00
des
ca277419a2 Split the 'clean' command into 'cleansrc', 'cleanobj' and 'cleanroot'.
Specifying 'clean' is equivalent to specifying all three.
2005-04-30 18:22:12 +00:00
des
c34b0ce9c8 Add 'cleanobj' to the default target list. 2005-04-30 17:57:11 +00:00
harti
602fdc5e5e Add an initial regression test suite for make(1).
Submitted by:	Max Okumoto <okumotu@ucsd.edu> (partly, initial version)
2005-04-28 13:20:48 +00:00
davidxu
6149b9f287 Adjust code to be more reliable. 2005-04-24 00:17:30 +00:00
davidxu
72410b5004 Add a program to test if tls data is clean. 2005-04-23 23:47:58 +00:00
mux
fa9f34652d Fix printf() format string errors with 64-bit architectures.
Spotted by:	pav
2005-04-21 19:28:22 +00:00
phk
16e5fd3281 Remove redundant line, add comment about termcap 2005-04-19 15:15:35 +00:00
avatar
8694c5f462 Adding another multi-byte characters related regression test for msdosfs.
Tested by:	njl
Reviewed by:	silby, bde, sam (mentor)
2005-04-18 13:06:43 +00:00
silby
80df10c1f4 Add another regression test - one we don't pass right now. 2005-04-17 00:56:38 +00:00
silby
80d723ba1b Have the regression test use a path in /tmp for a mount point
instead of a directory that only exists on my machine.
2005-04-17 00:40:27 +00:00
trhodes
7abff596b2 Those who are ungodlike should be returned an error. 2005-04-16 18:41:00 +00:00
rwatson
a5028ef44e Starting point for a regression test for mac_bsdextended(4)/libugidfw(3).
Currently only performs basic tests against the library string routines,
and queries less important kernel state.

Obtained from:	TrustedBSD Project
Sponsored by:	SPAWAR, SPARTA
MFC after:	3 days
2005-04-16 12:06:40 +00:00
stefanf
73d2098d76 Also test \0 in the format string. 2005-04-14 18:33:14 +00:00
phk
47cf7426fa sort and expand the prunelist in a more or less generally sensibly
order.  Put some strategic comments in about how much storage is
necessary and a longer explanation on the top.

It is now pretty trivial to put nanoBSD on as little as a 64MB CF card.

Sponsored by:	Soekris Engineering.
2005-04-13 21:22:20 +00:00
phk
a5a4c071cb Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
want to carry forward.
2005-04-13 21:20:16 +00:00
phk
01133bc55d Use df -i 2005-04-13 21:19:28 +00:00
stefanf
c7fefa410d Add a few regression tests for printf(1). 2005-04-13 20:08:17 +00:00
phk
82691535ee Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
mdodd
44f26591d0 Add support for more than two datasets. Currently limited to 7 though
the limit is only the number of meaningful graph symbols available.

Statistical comparison is performed between the first dataset and
any further datasets.

No objection by:	 phk
2005-04-13 05:50:56 +00:00
mdodd
467387567a Save argv[0] and use it in usage message. 2005-04-13 01:44:59 +00:00
avatar
a51295b62f Adding a brief description for pirtool.
Reviewed by:	sam (mentor)
2005-04-12 13:52:55 +00:00
rwatson
c5df80448a Centralize usage in usage(), and use in preference to fprintf().
List possible tests in usage().

When running a test, print the test name.
2005-04-10 02:06:49 +00:00