Commit Graph

918 Commits

Author SHA1 Message Date
rwatson
405f9b654c Add a few more system call timing cases:
Rename current socket creation test to socket_stream.
Add new socket_dgram test.
Add new socketpair_stream test.
Add new socketpair_dgram test.
2005-08-03 17:33:46 +00:00
sam
24f85b0b69 simplify use with non-ath devices; search the wlan sysctl nodes to
locate the right one for the specified interface

MFC after:	3 days
2005-08-03 04:25:04 +00:00
phk
634b705566 polish various bits. 2005-08-02 20:09:45 +00:00
phk
907344a7ad Ignore CVS directories 2005-08-02 20:09:24 +00:00
phk
8127211326 typo 2005-08-01 08:24:03 +00:00
phk
5c126adf7d Add stuff to HTML output. 2005-07-31 15:42:25 +00:00
phk
13782c6aeb The beginnings of a tool to survey the build options (NO_THIS, NO_THAT etc)
for effect.
2005-07-31 14:16:13 +00:00
des
8761731b8c In realpath(), make sure each path component consists only of safe
characters, and untaint it.
2005-07-29 11:28:03 +00:00
des
59a8e9095c Differentiate between empty and short reports, and raise the bar for what
we consider a short report to 128 characters.  Canonicalize %%HOME%%.
2005-07-29 11:25:10 +00:00
des
637e5e86f3 Don't email reports that are empty or very short, as can happen if tbmaster
fails to exec the tinderbox script.
2005-07-29 11:18:35 +00:00
des
f298f4eae6 Shorten src / obj paths while capturing logs, making them both smaller and
easier to read.
2005-07-28 10:09:22 +00:00
pjd
3f2c6109db Add regression tests (121 in total) for GEOM_ELI class.
To use them, run:

	# prove /usr/src/tools/regression/geom_eli

Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
MFC after:	1 week
2005-07-27 22:27:30 +00:00
csjp
6bb4b5a92b Add a description for bpfstat 2005-07-26 21:44:40 +00:00
csjp
e5ca7cc52f Introduce a bpfstat utility. This program can be used to retrieve
stats provided by bpf(4). This program will live in tools/ for now
until we figure out where it will live permanently. Based on some
discussions on developers@, it is likely that we will be adding
this functionality to netstat(1) at some point.
2005-07-26 21:38:54 +00:00
phk
d47dbed233 Add the first snapshot at rewriting the nanobsd build to be a shellscript.
The overall idea is to get a single build script which will not need
editing, but instead overrides and changes happen by config files passed
as arguments.
2005-07-26 18:52:50 +00:00
philip
cdb54d3e8c Add some more NO_FOO options. I'm not sure if they're correctly sorted in the
size-scheme.  Also add commented NO_BIND_FOO options for people who want named
but not all of the bloat it likes to include by default.

While here, make a comment about BOOT_COMCONSOLE_SPEED.
2005-07-25 09:15:12 +00:00
philip
f6a2d54d4e Add fstab entries for ALTROOTSLICE and CFGSLICE, allowing us to do away with
most of the hardcoding of device names in installed convenience scripts.

Provide a new script (root/updatep) to easily update the ALTROOTSLICE.  It
does the same as updatep1/updatep2 without hardcoded device names.  If noone
protests, I'd like to get rid of updatep1/updatep2 at some point.

As an extra bonus: turn on the error led while updating (on hardware with a
led).
2005-07-25 08:40:13 +00:00
pjd
4138f701c8 Change jail IP from 1.0.0.127 to 127.0.0.1, which shows, that this test
doesn't examine the real issue as it pass without problems.
2005-07-23 05:40:17 +00:00
sam
0ba8dad185 update for recent additions 2005-07-22 23:37:03 +00:00
sam
db1d8862bd update with new msg classes 2005-07-22 23:33:33 +00:00
rwatson
c45e23d039 Add a simple multicast socket regression test set:
- Test that the basic socket options have the right defaults, that we can
  change them, read them back, etc.

- Add and remove some multicast addresses.

- Send a loopback multicast address and make sure it arrives intact.

There's more that could be done here, but it's a start.

MFC after:	3 days
2005-07-22 19:36:29 +00:00
phk
9b19f9f39e In 2003, a -s flag was added to ministat to separate the
avg/median/stddev bars onto separate lines for readability if the
ranges overlapped.  In 2005, ministat was extended to support more than
2 datasets, but the -s code was not updated.  It will coredump if run
with -s and >2 sets.

PR:	82909
Submitted by:	Dan Nelson <dnelson@allantgroup.com>
2005-07-21 08:32:56 +00:00
des
b820d7bda4 Catch up. 2005-07-20 20:01:37 +00:00
des
0758329fde Remove redundant rc files. 2005-07-20 20:00:51 +00:00
des
61cf820c99 CURRENT -> HEAD, and dump ia64 and powerpc. 2005-07-20 19:59:46 +00:00
des
450fedcb13 Use 'HEAD' instead of 'CURRENT', while retaining backward compatibility. 2005-07-20 19:58:47 +00:00
des
34f70ab4e5 Include RELENG_4_11 and RELENG_4. 2005-07-20 19:51:13 +00:00
des
08f9cd1a33 Include RELENG_5_4 and RELENG_5. Chuck out ia64. 2005-07-20 19:50:29 +00:00
des
2d14d0da5e Add rc files for RELENG_6. 2005-07-20 19:49:36 +00:00
imura
11bed7ab9b Add another regression tests for msdosfs which covers msdosfs_conv.c rev 1.45.
Requested by:	silby
2005-07-18 12:15:24 +00:00
gad
dae3611171 Correct one regression test (which was expected an incorrect answer), and
add a few more tests.  This matches bug fixes recently committed to 'env'.
2005-07-15 02:31:15 +00:00
philip
55acff0d21 Fix a minor buglet making the code match the comment. Fractional cylinders
confuse fdisk and break the NanoBSD build.

This is an MT5/6 candidate.

MFC after:	3 days
2005-07-14 12:20:02 +00:00
gad
2628b26a5e Upgrade these regression tests to track recent changes to `env'.
Approved by:	re (blanket `env')
2005-06-21 21:43:38 +00:00
gad
cb0516417f 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')
2005-06-20 04:17:12 +00:00
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