Commit graph

935 commits

Author SHA1 Message Date
Robert Watson c6c7bd16ce Add fifo_create, a simple regression test for mkfifo(2). 2005-09-10 21:09:26 +00:00
Christian S.J. Peron fa973e67a4 Now that the PID is constantly refreshed, introduce a pidname function which
when given a PID consults the kern.proc.pid sysctl variable to pull out the
pcomm data.
2005-09-05 23:13:05 +00:00
Robert Watson e9cc9cec0c Add a regression test to test two variations on the same bug: joining a
multicast group using a raw socket, then removing the interface on which
the group is found, and joining a multicast group using a udp socket,
then removing the interface on which the group is found.  An if_disc
interface is used as the interface on which to attach.

NB: A panic currently results from running this regression test, so do
so with caution.

PR:		77665
Reported by:	Gavin Atkinson <gavin dot atkinson at ury dot york dot ac dot uk>
Reported by:	Brooks Davis <brooks at FreeBSD dot org>
2005-09-05 13:23:01 +00:00
Stefan Farfeleder e594c724ee - Add tests for hash and return and more tests for set -e.
- Simplify regress.sh, sort tests.
2005-09-05 09:42:10 +00:00
Stefan Farfeleder 7784798d1b Simplify and add PR 77067 which addresses the same bug. 2005-09-04 21:29:09 +00:00
Stefan Farfeleder e4562fb6e8 Fix syntax error that crept in somehow. 2005-09-04 18:12:21 +00:00
Stefan Farfeleder afb2e8b616 Add a couple of regression tests for /bin/sh. 2005-09-04 11:59:59 +00:00
Sam Leffler f3ba19c9f3 script to set ifs parameters based on distance; derived from program
of the same name by Gunter Burchardt

MFC after:	3 days
2005-08-30 16:03:15 +00:00
Maxim Sobolev db45c56d7d Extend utility to allow recovering single file from the deffective
media.

MFC after:      2 weeks
2005-08-29 23:08:01 +00:00
Simon L. B. Nielsen 9e982c116f Correct a comment to match the configuration parameter it describes.
MFC after:	3 days
2005-08-27 20:57:06 +00:00
Pawel Jakub Dawidek b94557c2aa Add regression tests for '-L' option. 2005-08-25 20:13:58 +00:00
Pawel Jakub Dawidek 02a76f3fd7 '-F' option behaviour was reverted, so revert previous commit. 2005-08-25 20:11:39 +00:00
Pawel Jakub Dawidek dfe47d36df '-F' option now needs locked pidfile. Modify regression tests respectively. 2005-08-24 19:39:29 +00:00
Christian S.J. Peron ae21aee6ff Add support for processing the "bd_locked" flag offered by the bpf
stats structure.
2005-08-23 00:06:04 +00:00
Poul-Henning Kamp f763f86b1d Increase flexibility in disk-layout 2005-08-16 05:49:17 +00:00
Poul-Henning Kamp 034d67974c Put more stuff in logfiles instead of stdout 2005-08-15 18:40:28 +00:00
Poul-Henning Kamp a0f08bdf0c Cleanup and polishing. 2005-08-15 12:48:42 +00:00
Poul-Henning Kamp 27fa5ded62 After much experimentation, settle for the simplest model for customize
scripts.
2005-08-15 08:13:01 +00:00
Poul-Henning Kamp 202cd57290 Prune empty directories in /usr
Move argv parsing.
2005-08-13 08:06:18 +00:00
Poul-Henning Kamp 22aec2a315 Update to latest version of this tool.
Takes about a week for a full run.
2005-08-09 09:27:11 +00:00
Sam Leffler 6ae4f72691 sigh, sizeof the correct variable so we can match ifname's > 4 bytes 2005-08-06 18:47:12 +00:00
Robert Watson fa2b8debfe 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 Leffler f0abdaaa64 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
Poul-Henning Kamp 511dca89b7 polish various bits. 2005-08-02 20:09:45 +00:00
Poul-Henning Kamp d9f9156b84 Ignore CVS directories 2005-08-02 20:09:24 +00:00
Poul-Henning Kamp 7abfae504a typo 2005-08-01 08:24:03 +00:00
Poul-Henning Kamp c14037d0a2 Add stuff to HTML output. 2005-07-31 15:42:25 +00:00
Poul-Henning Kamp 68d71fe787 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
Dag-Erling Smørgrav 8b4c82b30e In realpath(), make sure each path component consists only of safe
characters, and untaint it.
2005-07-29 11:28:03 +00:00
Dag-Erling Smørgrav 614232077b 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
Dag-Erling Smørgrav 9c89ce0f27 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
Dag-Erling Smørgrav e873b4d1bc Shorten src / obj paths while capturing logs, making them both smaller and
easier to read.
2005-07-28 10:09:22 +00:00
Pawel Jakub Dawidek 229e613662 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
Christian S.J. Peron 914aa01ca3 Add a description for bpfstat 2005-07-26 21:44:40 +00:00
Christian S.J. Peron c0b73d79e5 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
Poul-Henning Kamp 2a6de17fc9 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 Paeps fc2d060bf7 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 Paeps 1d22933171 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
Pawel Jakub Dawidek 3c0a99e66e 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 Leffler 1686ab4639 update for recent additions 2005-07-22 23:37:03 +00:00
Sam Leffler 0b42c00c0e update with new msg classes 2005-07-22 23:33:33 +00:00
Robert Watson b7b85f242e 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
Poul-Henning Kamp 4a7f3dcea5 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
Dag-Erling Smørgrav dc8d555647 Catch up. 2005-07-20 20:01:37 +00:00
Dag-Erling Smørgrav 747e5e832f Remove redundant rc files. 2005-07-20 20:00:51 +00:00
Dag-Erling Smørgrav a3264f50a1 CURRENT -> HEAD, and dump ia64 and powerpc. 2005-07-20 19:59:46 +00:00
Dag-Erling Smørgrav d40cc34afc Use 'HEAD' instead of 'CURRENT', while retaining backward compatibility. 2005-07-20 19:58:47 +00:00
Dag-Erling Smørgrav 866f6f4dda Include RELENG_4_11 and RELENG_4. 2005-07-20 19:51:13 +00:00
Dag-Erling Smørgrav 811f4dda90 Include RELENG_5_4 and RELENG_5. Chuck out ia64. 2005-07-20 19:50:29 +00:00
Dag-Erling Smørgrav aa17454eed Add rc files for RELENG_6. 2005-07-20 19:49:36 +00:00