Commit Graph

880 Commits

Author SHA1 Message Date
Maxim Konovalov
922a5d9c2b 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
Maxim Sobolev
a09b2401cd Add entry for recoverdisk. 2005-06-06 00:18:17 +00:00
Hartmut Brandt
5878452aa9 Add a test for escaped newline handling. 2005-06-01 11:26:47 +00:00
Hartmut Brandt
6772dd14cb 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
Hartmut Brandt
d9ea463fbf 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
Robert Watson
cd05b0f7a1 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
Hartmut Brandt
cfc967e66a 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
Hartmut Brandt
ac8946e3d3 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
Hartmut Brandt
c9302692e6 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
Poul-Henning Kamp
0f93d8245d 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
Poul-Henning Kamp
af7b2a826c 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
Poul-Henning Kamp
3ed0460401 Run the "files" customization script 2005-05-19 15:24:23 +00:00
Poul-Henning Kamp
a2830531c0 Add some runtime admin/tool scripts 2005-05-19 15:23:47 +00:00
Poul-Henning Kamp
63ad46aa0d Add a couple of basic customization scripts. 2005-05-19 15:20:49 +00:00
Poul-Henning Kamp
b715b67f2c Explain the magic 2005-05-19 13:33:21 +00:00
Hartmut Brandt
56f5aba2ca 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
Ruslan Ermilov
228f8c4f8b Make <runefile.h> internal to libc.
Suggested by:	phantom
2005-05-16 09:32:41 +00:00
Robert Watson
31ae050211 Add an #ifdef'd non-blocking version of the test.
Update copyright.
2005-05-16 00:54:47 +00:00
Robert Watson
868ee99ce3 Close the connect socket as well as the listen socket on completion.
Update copyright.
2005-05-16 00:53:38 +00:00
Marcel Moolenaar
e108c3d726 o -n option added.
o  -x option added.
2005-05-15 07:35:34 +00:00
Tai-hwa Liang
8c003d1784 Catching up with the latest crypto API changes in net80211.
Reviewed by:	sam
2005-05-05 13:16:30 +00:00
Hajimu UMEMOTO
df66c5631e add simple test script. 2005-05-05 11:26:47 +00:00
Hajimu UMEMOTO
9118a9f020 - add $FreeBSD$.
- enable -r option for regress target.
2005-05-04 19:40:30 +00:00
Hajimu UMEMOTO
d70ba80285 - 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
Hajimu UMEMOTO
6533c1fe80 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
Hajimu UMEMOTO
c01a5804da import of parallel name resolution test.
Obtained from:	NetBSD
2005-05-04 11:55:42 +00:00
Dag-Erling Smørgrav
507e86aa47 Reduce diffs against actual production configuration. 2005-04-30 18:26:05 +00:00
Dag-Erling Smørgrav
de57e6667e Remove a line which merely echoed the builtin default. 2005-04-30 18:25:01 +00:00
Dag-Erling Smørgrav
51c0f059e0 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
Dag-Erling Smørgrav
69a5883615 Add 'cleanobj' to the default target list. 2005-04-30 17:57:11 +00:00
Hartmut Brandt
1b26a92962 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
David Xu
be6c0196e0 Adjust code to be more reliable. 2005-04-24 00:17:30 +00:00
David Xu
3586efad69 Add a program to test if tls data is clean. 2005-04-23 23:47:58 +00:00
Maxime Henrion
163609768e Fix printf() format string errors with 64-bit architectures.
Spotted by:	pav
2005-04-21 19:28:22 +00:00
Poul-Henning Kamp
e40bef3c10 Remove redundant line, add comment about termcap 2005-04-19 15:15:35 +00:00
Tai-hwa Liang
da833457eb 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
Mike Silbersack
fb3153e1ee Add another regression test - one we don't pass right now. 2005-04-17 00:56:38 +00:00
Mike Silbersack
756f6b7398 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
Tom Rhodes
932d3e21cc Those who are ungodlike should be returned an error. 2005-04-16 18:41:00 +00:00
Robert Watson
babcc5ad79 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
Stefan Farfeleder
a87ba6e923 Also test \0 in the format string. 2005-04-14 18:33:14 +00:00
Poul-Henning Kamp
640f692f57 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
Poul-Henning Kamp
37d04bc5d9 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
Poul-Henning Kamp
bdc9311ac7 Use df -i 2005-04-13 21:19:28 +00:00
Stefan Farfeleder
91e3aee000 Add a few regression tests for printf(1). 2005-04-13 20:08:17 +00:00
Poul-Henning Kamp
d668f22a0c Add NO_DICT handle. Saves almost 3.5 MB installed. 2005-04-13 10:02:58 +00:00
Matthew N. Dodd
afe98543b8 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
Matthew N. Dodd
478521fa8d Save argv[0] and use it in usage message. 2005-04-13 01:44:59 +00:00
Tai-hwa Liang
74c77551ed Adding a brief description for pirtool.
Reviewed by:	sam (mentor)
2005-04-12 13:52:55 +00:00
Robert Watson
11853de0a1 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