Commit Graph

826 Commits

Author SHA1 Message Date
Hartmut Brandt
c997f47be0 Add another test that checks for a working '+' command flag. 2004-08-05 07:24:06 +00:00
John-Mark Gurney
cf02bf2407 add a set of scripts that I posted to -current last year. This makes
debugging kernels and kernel modules much easier.  It will automaticly
locate kernel source, extract kernel module information, and rerun gdb
to load kernel module symbol information (if available by compiling module
w/ debuging symbols).

I have not run these recently, so may need to be updated to work with
gdb6.  Feel free to fix as appropriate for -current.
2004-08-04 18:03:43 +00:00
Pawel Jakub Dawidek
f33015b90f Add regression test for "prefer" balance algorithm in MIRROR class. 2004-08-04 12:18:42 +00:00
Hartmut Brandt
48ec21e7e6 Add a regression test for the passing of command line
variable assignments via the MAKEFLAGS environment variable.
2004-08-04 07:40:58 +00:00
Robert Watson
07727c8333 Add minimal socketpair() regression test to confirm that we can create
(and close) PF_UNIX socket pairs, and that we can't create PF_INET
socket pairs.  More tests to follow.
2004-08-04 03:46:35 +00:00
Doug Rabson
2546665afc Add regression tests for TLS. 2004-08-03 09:04:01 +00:00
Pawel Jakub Dawidek
fa4a1febf7 Add GEOM_MIRROR class which provide RAID1 functionality and has many useful
features. The gmirror(8) utility should be used for control of this class.
There is no manual page yet, but I'm working on it with keramida@.

Many useful tests provided by:	simon (thank you!)
Some ideas from:		scottl, simon, phk
2004-07-30 23:13:45 +00:00
Jordan K. Hubbard
bad960b11b After conferring with Apple legal, update the license of this to APSL 2.0
and change the URL link to point to the appropriate license text.
2004-07-27 20:01:43 +00:00
John-Mark Gurney
03c439e6e0 add a command to calculate the ratios of cnt_hold and cnt_lock to locks
from mutex profiling...  This takes cnt_* and divides it by count, so
lower is better...

Sample command:
sh mtxpercent.sh | sort -rn +7 -8

SEE ALSO
	MUTEX_PROFILING(9)
2004-07-27 00:36:53 +00:00
Pawel Jakub Dawidek
889c5dc22b Change naming scheme from /dev/<name>.stripe to /dev/stripe/<name>. 2004-07-26 16:10:27 +00:00
Pawel Jakub Dawidek
ba385d0091 Change naming scheme from /dev/<name>.concat to /dev/concat/<name>. 2004-07-26 16:08:32 +00:00
Robert Watson
43cb0b2b09 Simple attachment regression test to attach the "accf_data" accept
filter to an inet socket and check at various points during the socket
life cycle that the filter can or cannot be attached, and that once
attached that the right one is attached and that it can be queried.
2004-07-26 03:53:47 +00:00
Mike Silbersack
a99c936ba3 Add two more programs useful for testing the correctness of pipes. 2004-07-22 02:46:25 +00:00
Tim J. Robbins
a24d9b9413 Add test programs for mbsnrtowcs() and wcsnrtombs(). 2004-07-21 13:47:48 +00:00
Mike Silbersack
d895e295d0 Make this test compile again and remove its dependency on sys/pipe.h. 2004-07-21 03:13:53 +00:00
Mike Silbersack
9fb02d624f Add a simple regression test for the stat st_size bug just fixed in
sys_pipe.c
2004-07-20 07:17:19 +00:00
Tim J. Robbins
7cc9e6ddbb Add a skeleton makefile that runs the tests out of libc/regex/grot. 2004-07-19 09:00:26 +00:00
Tim J. Robbins
683d338a83 Oops, test error behaviour of wctrans(), not wctype(). 2004-07-19 08:53:41 +00:00
David Schultz
b3cb43917d While testing fe[gs]etround(), make sure FLT_ROUNDS reflects the
proper rounding mode as well.
2004-07-19 08:17:47 +00:00
Robert Watson
f8254af5ce Explicitly specify ATPROTO_DDP constant rather than '0' when binding
a netatalk socket.  No functional change.
2004-07-17 17:16:16 +00:00
Robert Watson
ffd446110e Add a simple tool to bind netatalk sockets and perform send operations.
This isn't a classic regression test in that it doesn't have a notion of
pass fail, it's more of an exercise tool.  It attempts to exercise
unbound, bound, unconnected, and connected variations on SOCK_DGRAM
sockets.
2004-07-17 17:12:15 +00:00
Robert Watson
9e7ebef8c3 gcc now objects to a default label without any contents. Because I want
to have a comment present in the default case, add a 'break' to each
default case that previously had no actual statements.
2004-07-17 17:01:25 +00:00
Robert Watson
90d6d28efa Add simple regression test to detect leakage of file descriptors when
accept() returns EAGAIN on a non-blocking listen socket.  This is the
tool I used to check that such a bug was resolved when merging accept()
locking.
2004-07-17 16:56:46 +00:00
Doug Rabson
a52b6f787c Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
Dag-Erling Smørgrav
bce92f41d6 When cleaning house, don't try to remove what isn't there. 2004-07-09 13:15:32 +00:00
Hartmut Brandt
f0092780fc Use and explicite 'sh' to run the scripts, because they may be checked
out non-executable.
2004-07-09 08:59:15 +00:00
Ruslan Ermilov
3b579c6e63 Arguments to options aren't necessarily separated with whitespace.
Noticed by:	harti
2004-07-07 09:38:14 +00:00
Maxime Henrion
94adaee892 Update the location of the Hart's database as well. 2004-06-28 11:46:48 +00:00
Maxime Henrion
f3d319a76c The location of the Boemler's PCI database has moved. Update comments
to reflect reality.
2004-06-28 11:32:58 +00:00
Maxim Sobolev
ace18b764a Add qsort, mergesort and heapsort regression tests. 2004-06-25 12:31:12 +00:00
Dag-Erling Smørgrav
ed18bbe9cb Set up logging before trying to lock the sandbox; otherwise tbmaster(1)
will just log a mysterious "tinderbox returned exit code 35".
2004-06-22 08:34:46 +00:00
Dag-Erling Smørgrav
6257798869 Initialize $timeout to 0. 2004-06-21 15:08:17 +00:00
Dag-Erling Smørgrav
d30e0e242e Add a timeout after which tinderbox(1) will kill its children and exit. 2004-06-21 14:49:22 +00:00
Robert Watson
56063929de Update for so_state->sb_state, SB_* flag renames.
Submitted by:	rik
2004-06-14 21:42:01 +00:00
Dag-Erling Smørgrav
c4ed9120ab Add a JOBS config keyword, which corresponds to the --jobs tinderbox(1)
command line option.
2004-06-14 12:10:48 +00:00
Dag-Erling Smørgrav
78fd88311a Update-only configs. 2004-06-14 11:36:00 +00:00
Dag-Erling Smørgrav
7ba995809c Group tinderbox results by config name. Skip configs whose names start
with "update_".
2004-06-12 11:23:04 +00:00
Dag-Erling Smørgrav
640d785fc9 Include the config name in the log file name. 2004-06-12 11:22:21 +00:00
David Schultz
a2ca83c04a Add some fenv.h regression tests. 2004-06-11 03:22:34 +00:00
Dag-Erling Smørgrav
2caf74ecdd Log the config name in the history file. 2004-06-05 11:09:34 +00:00
Thomas Quinot
ad7df741c9 Add trailing backslash missing from previous checkin. 2004-05-28 21:26:49 +00:00
Thomas Quinot
c0c63fd3c5 Support for optional initialization of the configuration slice by
specifying the name of a directory to be copied there in Makefile
variable CFGMASTER.
2004-05-28 21:23:23 +00:00
Thomas Quinot
5141d0dd23 Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself,
assuming in the latter case that it is an absolute path name.
2004-05-28 21:16:14 +00:00
Brooks Davis
d49b8d3917 Fix stupid patch(1) tricks. Apparently patch thinks all files match the
empty file so if you accidently apply a patch created with diff -N
twice, you get files with duplicate contents.

Reported by:	Antoine Brodin <antoine.brodin at laposte.net>
2004-05-27 17:23:32 +00:00
Brooks Davis
7387768ef4 Add support for an /etc/eui64 file modeled on /etc/ethers. The API is
modeled on ethers(3) except that all functions are thread-safe.

Reviewed by:	simokawa
2004-05-26 22:58:06 +00:00
Pawel Jakub Dawidek
c4db6df027 Add regression tests for geom_stripe and geom_nop.
Supported by:	Wheel - Open Technologies - http://www.wheel.pl
2004-05-22 10:58:53 +00:00
Dag-Erling Smørgrav
08e6faa278 If asked to build a kernel without first building world, build the
kernel toolchain first.
2004-05-15 00:08:44 +00:00
Tim J. Robbins
7076971c1a Test accumulation of partial multibyte characters in conversion
state objects.
2004-05-11 13:10:47 +00:00
Pawel Jakub Dawidek
100ed7e49e Add regression tests for GEOM Gate:
- test-1.sh - Tests ggatec(8) and ggated(8) on lo0.
	- test-2.sh - Tests ggatel(8) on a regular file.
	- test-3.sh - Tests ggatel(8) on a md(4) device.
2004-05-03 18:29:54 +00:00
Thomas Quinot
dce3a06eaa Be consistent in using variable names instead of parameter numbers. 2004-05-02 21:19:17 +00:00
Sean Kelly
528d980cc0 A new version that does exponents and lots of other neat things. Update
from the original author of math.sed.

Submitted by:	K S Braunsdorf <sed@ksb.npcguild.org>
2004-05-01 02:15:58 +00:00
Poul-Henning Kamp
f033edb2aa More POLA handling of CUSTOMIZE variable 2004-04-27 16:04:41 +00:00
Thomas Quinot
fa483345d2 Take boot0sio from the newly-built world, both for consistency's sake and
to cater for host systems where it is not present.

Reviewed by:	phk
2004-04-27 09:49:16 +00:00
David E. O'Brien
2d06787c3b Script for downloading and printing in hex, the offical vendor ID's from
USB.org.
2004-04-18 05:37:34 +00:00
Ruslan Ermilov
9869addc51 Teach the script where libssl actually lives.
Submitted by:	Michael Bretterklieber <mbretter@a-quadrat.at>
2004-04-13 11:06:20 +00:00
Tim J. Robbins
3a8bdd99cb Reset internal conversion state after triggering conversion errors;
the state is undefined according to the standards, and our undefined
behaviour has changed.
2004-04-07 11:02:51 +00:00
Peter Wemm
7e88a151e0 Add a snapshot of build32.sh for amd64 systems. The readme and comments
describe the (severe) restrictions and future plans.
2004-03-30 22:57:11 +00:00
Dag-Erling Smørgrav
2b39efe249 Previous commit fixed one braino but left another in place. 2004-03-30 19:25:44 +00:00
Poul-Henning Kamp
ae789ad80b Tell fdisk(8) about our geometry.
Strictly speaking this is unnecessary, but it allows nanobsd to work
on systems from before the -x and -y arguments to mdconfig(8) worked
for vnode backing.

Submitted by:	"Oivind H. Danielsen" <oivind.danielsen@kopek.net>
2004-03-28 19:39:08 +00:00
Marcel Moolenaar
1d559da4d1 Add a simple tool that prints out a register offset table to map
from the gdb(1) register number to offsets within struct reg and
struct fpreg. The tool is useful only on selected platforms. On
ia64 the registers are all over the place to simplify handling of
them in various situations, but which makes creating or maintaining
such an offset table error prone to do by hand.
Since remote kernel debugging operates on the same register numbers,
it would be a natural choice to use an identical offset table in the
kernel. However, since the kernel does not operate on struct reg nor
struct fpreg in the remote gdb(1) case, such would not make sense.
Whether we want to use this tool to create offsets for use in the
kernel or duplicate the knowledge of which register number maps to
what register is something that will become clear soon.

Note: in order to build cross debuggers, one cannot use target
headers and/or target definitions. That's why offsets need to be
hardcoded in the first place. Unpleasant, but necessary.
2004-03-28 18:01:15 +00:00
Dag-Erling Smørgrav
787807c120 Braino in previous commit. 2004-03-18 03:01:28 +00:00
Dag-Erling Smørgrav
33503ce748 Given the impact of CFLAGS and COPTFLAGS on the build, report them in
the log, even when not verbose.
2004-03-16 12:12:10 +00:00
Dag-Erling Smørgrav
158aa05efa Whitespace nit. 2004-03-16 12:08:59 +00:00
Dag-Erling Smørgrav
9d7f0e1d46 Set TZ to UTC so dates in the history file will match dates in the logs. 2004-03-16 00:31:27 +00:00
Dag-Erling Smørgrav
139b410f5b Build the tinderbox with -O2. 2004-03-16 00:24:54 +00:00
Dag-Erling Smørgrav
aa1432eb44 The documentation lists configuration variables in uppercase, so dump
them in uppercase.
2004-03-16 00:15:05 +00:00
Dag-Erling Smørgrav
c5cb37207c Add configuration shortcuts for CFLAGS and COPTFLAGS. 2004-03-16 00:12:59 +00:00
Dag-Erling Smørgrav
39245ad2ae Allow the user to override CFLAGS and COPTFLAGS on the command line. 2004-03-16 00:12:33 +00:00
Poul-Henning Kamp
08aa348d34 TMPDIR is magic, use TMPMNT
Spotted by:	harold barker <hvb@fs0.sm.dsms.com>
2004-03-13 23:01:08 +00:00
Simon L. B. Nielsen
316f8263dd - Use variable names instead of numbers for the script arguments to
improve readability.
- Use mktemp to create the temporary files and directory.
- Mount temporary md(4) backed file system on a temporary directory,
  instead of /mnt.

Approved by:	phk
2004-03-11 18:12:48 +00:00
Poul-Henning Kamp
724e52cd0d Add an option to write collected data to file in binary format. This
is very useful for collecting test-data for trial runs.
2004-03-10 20:30:19 +00:00
Poul-Henning Kamp
d6a13213b9 We don't retain 'x' bits in CVS so explicity use sh to run script. 2004-03-10 11:11:58 +00:00
Poul-Henning Kamp
81ab64323a Add first cut at "nanobsd":
Nanobsd should make it very simple for people to create (CF-)disk images
for embedded us of FreeBSD.

Currently only works for 256MB disks.  More agrressive shaving of the
build image can reduce that much further.
2004-03-10 10:28:33 +00:00
Pawel Jakub Dawidek
bf25fb037e Add regression tests for geom_concat class. 2004-03-03 21:52:49 +00:00
Ruslan Ermilov
4fca7bd3dd Removed extraneous parentheses. 2004-03-01 17:47:38 +00:00
Andrey A. Chernov
e9ba071875 Add getopt_long.c if ${BOOTSTRAPPING} < 502104 2004-02-28 07:25:48 +00:00
Johan Karlsson
20e61691a2 style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-24 20:52:58 +00:00
Dag-Erling Smørgrav
648a7aae7f Fix some cosmetic issues in warning and error messages. 2004-02-22 16:45:21 +00:00
Brian Feldman
b99c0fd2b4 Add some more comments and a -4 argument to restrict searches to only
A (not default A and AAAA) records.  Now the longest time that a -4
thread might hang trying to resolve is only 2:30 instead of 5:00 ;)
2004-02-21 22:42:54 +00:00
Brian Feldman
bdb764aa04 Print the maximum resolution time encountered by each thread. Did you
know that the resolver might keep trying on a getaddrinfo() for up to
FIVE MINUTES?
2004-02-21 02:52:49 +00:00
Brian Feldman
e858faa9bb Add my getaddrinfo(3) stress-tester as gaithrstress. The most obvious
regressions would be to see the program or your kernel crashing.

If you want to give it something to really test out, try a much more
reentrant version of the resolver.
<URL:http://green.homeunix.org/~green/reentrant_resolver.patch>
Any Mozilla-based browser would show you a clear difference.
2004-02-20 16:54:01 +00:00
Ruslan Ermilov
f3b6219857 Unbreak the upgrade path from 4.9 after removal of GNU getopt and
<gnuregex.h>.
2004-02-20 11:55:14 +00:00
Dag-Erling Smørgrav
0dd2d10898 Remove configurations which aren't used in production. 2004-02-17 10:02:55 +00:00
Dag-Erling Smørgrav
f775748a9e Cosmetic changes to the recipient addresses. 2004-02-14 09:52:22 +00:00
Dag-Erling Smørgrav
cd54ef88cb Add %%sender%% to the recipient list. 2004-02-12 08:19:13 +00:00
Dag-Erling Smørgrav
33fe672121 Set the default sender address to <tinderbox@freebsd.org>, and the
default recipient to %%sender%%.
2004-02-12 08:18:48 +00:00
Ruslan Ermilov
0952f7e09f Convert to plain bsd.prog.mk makefile.
Reviewed by:	scottl
2004-02-07 16:58:23 +00:00
Scott Long
1e6466b61e Add a simple tool for checking the queue stats in the aac(4) driver. The
ioctl interface for this has been here for years, so it might as well get
used.
2004-02-07 03:51:20 +00:00
Ruslan Ermilov
285c793501 From what I can tell, install.sh supported all of the install(1)
options since revision 1.2, so removed the XXX comment now.

Fixed bogus test(1) expression that would be evaluated as a null
string test if script is run without arguments, compacted option
lists.
2004-02-06 11:00:13 +00:00
Ruslan Ermilov
b77a54a688 Added missing DPADD. 2004-02-05 22:01:28 +00:00
Ruslan Ermilov
c97869c8aa Fixed ``make checkdpadd''. Removed redundant dependency. 2004-02-05 21:52:33 +00:00
Dag-Erling Smørgrav
d36f5b40f2 Use more generic directories (most prominently, s|/home/des|%%HOME%%|) 2004-02-05 11:08:36 +00:00
Dag-Erling Smørgrav
5208bd5607 Don't forget to install stable.rc. 2004-02-04 09:06:32 +00:00
Dag-Erling Smørgrav
908579c172 Remove RELENG_4, leaving only security branches. 2004-02-03 19:23:12 +00:00
Dag-Erling Smørgrav
57a3a301fe Add a "stable" config for 4-STABLE. 2004-02-03 19:22:48 +00:00
Dag-Erling Smørgrav
7b0db01ca4 Allow multiple configs to be specified to a single tbmaster instance. 2004-02-03 19:19:29 +00:00
Dag-Erling Smørgrav
cf3b2baf6d Untaint the hostname before trying to use it on a command line. 2004-02-01 13:50:46 +00:00
Dag-Erling Smørgrav
154671e516 Use uname -n as default for the HOSTNAME configuration variable. 2004-02-01 04:51:25 +00:00
Ruslan Ermilov
99d3652e69 Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29
of make/str.c.
2004-01-30 09:46:28 +00:00
Ruslan Ermilov
9608d7e2cd Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c. 2004-01-29 22:51:36 +00:00
Hartmut Brandt
ac9c95fde8 These scripts run the protocol test suites for the SSCOP, SSCF-UNI and
UNI protocols. The actual test suites are not in these directories because
of their size. One needs to install the atmsupport port (the script
will remind you, if it cannot find the port).

The SSCOP test suite includes booth the ETSI and the ITU-T test suite,
the SSCF-UNI test suite is home grown and the UNI test suite is the
P2MP ETSI test suite. Others may follow.
2004-01-29 16:01:57 +00:00
Hartmut Brandt
2e0b641e23 Add a simple test script for the ng_atmpif node.
Submitted by:	Vincent Jardin <vjardin@free.fr>
2004-01-29 15:58:06 +00:00
Dag-Erling Smørgrav
d9d3e2c85f Fix the case where .OBJDIR != .CURDIR. 2004-01-25 19:11:43 +00:00
Dag-Erling Smørgrav
b8dbe3e019 This setup was used for amd64 and powerpc before they reached the point
where a normal buildworld would succeed.  It is no longer required.
2004-01-25 19:04:37 +00:00
Dag-Erling Smørgrav
09e0653941 I don't normally use my middle name, so remove it from attributions in
man pages (though not from copyright notices).  While I'm here, add email
addresses where appropriate.
2004-01-25 11:39:42 +00:00
Dag-Erling Smørgrav
9538c775a1 Include the hostname in the history file. 2004-01-24 15:06:36 +00:00
Dag-Erling Smørgrav
1d701419fd Bump the date. 2004-01-24 14:53:25 +00:00
Dag-Erling Smørgrav
4dad564514 Bump version number to reflect the addition of cvsup support. 2004-01-24 14:53:11 +00:00
Dag-Erling Smørgrav
292d6f75a5 Ignore incomplete logs when figuring out what branches and platforms
to display.
2004-01-24 14:52:44 +00:00
Dag-Erling Smørgrav
d6a2cc66e2 I won't be using stanley any more. 2004-01-24 14:32:54 +00:00
Dag-Erling Smørgrav
92731d69b0 Drop RELENG_5_1 due to lack of resources. 2004-01-24 14:31:25 +00:00
Dag-Erling Smørgrav
a073697081 Add powerpc, which should build cleanly now. 2004-01-24 14:30:40 +00:00
Dag-Erling Smørgrav
fbedaa8f05 Document the CVSUP and REPOSITORY configuration variables. 2004-01-23 23:06:40 +00:00
Dag-Erling Smørgrav
522bf11452 Add support for tinderbox.pl's --cvsup and --repository options.
Sort %CONFIG.
2004-01-23 23:06:14 +00:00
Dag-Erling Smørgrav
62274a0b18 Document cvsup support. 2004-01-23 23:04:38 +00:00
Dag-Erling Smørgrav
50d573dfc2 Add support for using cvsup instead of cvs to update the source tree.
Fix the "clean" command: don't try to rmdir symlinks, and run chflags
before trying to delete the chroot tree.
Tweak some error and info messages.
2004-01-23 23:04:26 +00:00
Warner Losh
e6fb5181c4 Remove references to cryptotest 2004-01-22 05:57:48 +00:00
Warner Losh
60cfb6bcd7 Theo de Raadt has brought to our attention that he wrote at least part
file and that he has not released it under a free license.  Until the
matter can be resolved, honor his claim and remove it.

PR: misc/61676
2004-01-21 16:44:49 +00:00
David Schultz
575f4d3239 Add regression tests for printf's %a/%A formats.
While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:59:07 +00:00
David Schultz
24f285966e Add regression tests for some of the bugs recently discovered in the
vendor's strtod() implementation.

While here, disable some of the long double tests on i386, since
FreeBSD/i386 is the only port that doesn't evaluate long doubles in
their full precision (due to constant folding bugs in gcc).
2004-01-19 05:30:56 +00:00
David Schultz
e5524baebf Work around a recently-introduced gcc bug. The compiler no longer
accepts certain floating point constant representations that are
legal in C99.
2004-01-18 07:06:21 +00:00
Dag-Erling Smørgrav
0f2f05821a Add ${IMAGES} to CLEANFILES. 2004-01-11 19:05:48 +00:00
Dag-Erling Smørgrav
0b6e836294 Store binary files in uuencoded form. 2004-01-11 19:00:04 +00:00
Bruce M Simpson
27faa39960 Add pirtool, a tool for dumping the $PIR table on i386 machines at runtime.
Requested by:	mdodd
2004-01-06 20:59:49 +00:00
Greg Lehey
a783ff949c Rename "msgbuf" to "dmesg", a more easily remembered name.
"Fix" documentation by removing periods and commas.
2003-12-31 00:37:24 +00:00
Greg Lehey
e1e5f8baf2 Remove calls to 'y' macro. 2003-12-30 02:08:29 +00:00
Greg Lehey
1cff4d0c1f Remove current implementation of kldstat macro.
Add new kldstat, kldstat-v and kernel macros.  The kldstat macro is
functionally equivalent to the previous implementation, but it looks
prettier and it matches the kldstat-v macro better.  kldstat-v gives
output similar to userland kldstat -v (note lacking space), and kernel
loads a new kernel and dump.

Submitted by:	des
2003-12-30 01:23:16 +00:00
Greg Lehey
410b51e72b Add documentation for previously undocumented macros, and correct
existing documentation.  This is not made any easier by the
brain-damaged format required for the documentation: one line, no full
stops or commas.
2003-12-29 06:38:27 +00:00
Greg Lehey
8454e168a9 Add documentation for previously undocumented macros. This is not
made any easier by the brain-damaged format required for the
documentation: one line, no full stops or commas.

Remove macro xy.  I can't see any use for it any more.
2003-12-29 06:37:11 +00:00
Greg Lehey
747ca5f521 Add comments to deter people from using this file directly. That's
not the intention.

Rearrange "you may want to change these values" values to the top, and
reduce their number as much as possible.

tr macro: Require a parameter (because gdb is too stupid to understand
optional parameters), and create macros tr0, tr1 and trf which call it
to connect to /dev/cuaa0, /dev/cuaa1 and firewire connections
respectively.

Split kld symbol load into two separate macros: revision 1.5
simplified things for the /dev/mem case, but broke it for anything
else.  Now the simple /dev/mem version is called kldsyms, and the
version for serial debugging and processor dumps is called getsyms,
and still requires this irritating cut and paste.

Change comments on startup to make life easier for the poor
(de)bugger.
2003-12-29 06:35:14 +00:00
Greg Lehey
0fa02ea5f7 Explain what all this is about. 2003-12-22 00:01:53 +00:00
Dag-Erling Smørgrav
3b64ed3a59 Revert the last two commits. It seems that compat mode is actually faster
than non-compat (using -j1), though reading the make(1) sources suggests
that the opposite is true.
2003-12-12 12:03:59 +00:00
Dag-Erling Smørgrav
194c3cd492 Don't pass -P option to make(1) as it confuses the error detection logic. 2003-12-11 16:54:42 +00:00
Dag-Erling Smørgrav
e8064dd1a8 Always pass -j to make(1), even when we only want one job. It disables
compat mode and hopefully improves tinderbox performance.
2003-12-11 16:49:34 +00:00
Dag-Erling Smørgrav
801e29bd96 PowerPC doesn't need NOLIBC_R and NOFORTH (and hasn't for quite a while now) 2003-12-11 13:29:48 +00:00
Dag-Erling Smørgrav
bf063e8c94 Install experimental.rc as well. 2003-12-11 13:28:07 +00:00
Poul-Henning Kamp
3d9368b2d0 Add a small program to test/measure with the RFC 2783 API for timing
external signals.
2003-12-08 20:49:40 +00:00
Sam Leffler
236d9d937d add install rule 2003-12-07 21:42:40 +00:00
Sam Leffler
35d8be69e3 o report 0 instead of -1 for xmit rate when in transition
o report rssi in running display
o futz with column widths in running display
2003-12-07 21:40:52 +00:00
Sam Leffler
db511d2fff fix comment 2003-12-07 21:38:28 +00:00
Dag-Erling Smørgrav
5494e1fa10 Log all results to a history file in the log directory. 2003-12-07 17:43:30 +00:00
Dag-Erling Smørgrav
9cc0135c20 Merge in uncommitted changes from the running configuration. 2003-12-04 10:22:56 +00:00
Dag-Erling Smørgrav
082e8d12e0 RELENG_5_2 is right around the corner. 2003-12-04 10:21:06 +00:00
Ruslan Ermilov
69de7f12cb Understand the old pseudo-device config(8) file directive, for 4.x. 2003-11-28 08:58:44 +00:00
Alexey Zelkin
ac5e4e9c9e Learn about new world order 2003-11-26 10:43:05 +00:00
Sam Leffler
10e2a7db13 fixup include filenames; this stuff used to be in the kernel source tree 2003-11-13 21:25:09 +00:00
Sam Leffler
240d548608 honor environment settings of SYSDIR and BINDIR 2003-11-13 21:24:09 +00:00
Sam Leffler
891ea87e6a add in-kernel ttcp performance tool 2003-11-13 00:30:27 +00:00
Dag-Erling Smørgrav
a82652a49f Remove leftovers from old color determination scheme.
Tune the speed at which colors change.
2003-11-12 08:37:10 +00:00
Dag-Erling Smørgrav
a5601bd7fa braino in age computation 2003-11-12 08:32:34 +00:00
Dag-Erling Smørgrav
f61d63d059 Use graded colors to more clearly indicate relative age. 2003-11-12 08:30:51 +00:00
Dag-Erling Smørgrav
7335c12f8f Turn the table around: platforms across, branches down.
Also fix some bogus tabification in here documents.
2003-11-12 08:16:16 +00:00
Dag-Erling Smørgrav
a61575cf29 Belatedly include RELENG_4_9 in the build, and rotate RELENG_4_7 out. 2003-11-12 07:50:36 +00:00
Sam Leffler
754a426e14 add 802.11 layer stats dumper 2003-11-08 01:06:19 +00:00
Sam Leffler
d7c15d551a catchup with if_xname change 2003-11-08 01:01:56 +00:00
Brian Feldman
afdc68c42f Add a "-f" flag for asf(8) which performs a search to find the each module
no matter where in the directory structure it may be.  Use this and the "-k"
flag in the generated gdbinit files so that the "getsyms" function in gdb
requires no user intervention to run and will find every module if they're
in the kernel build's module directory.  This is still quite useful for
cases where gdb knows that the path for some modules is /boot/kernel and
others are in the object directory for /usr/src/sys/$ARCH/compile/kernel.

Approved by:	grog
2003-11-04 06:38:37 +00:00
Poul-Henning Kamp
573e036e31 Attached is a small patch to ministat that separates the
avg/median/stddev bars onto two lines.  Useful for datasets that
overlap.

Submitted by:    Dan Nelson <dnelson@allantgroup.com>
2003-10-31 13:25:43 +00:00
Tim J. Robbins
33c50f26da Add regression tests for sgetrune() and sputrune(). 2003-10-30 11:51:36 +00:00
Sheldon Hearn
9c31021801 Update the location of the Hart list. 2003-10-29 11:12:28 +00:00
Dag-Erling Smørgrav
e89ab6e083 Add the "TB ---" prefix to error and warning messages so that early
failures (e.g. failure to lock the sandbox) don't result in empty failure
reports.
2003-10-14 20:01:58 +00:00
Dag-Erling Smørgrav
adc0836e72 Tweak the colors for failed runs 2003-10-11 09:44:18 +00:00
Dag-Erling Smørgrav
cd4c9b964f Show stale results (8 hours old or more) in a paler color. 2003-10-11 09:40:18 +00:00
Dag-Erling Smørgrav
ffa02b4681 Cosmetic nits. 2003-10-10 23:27:57 +00:00
Dag-Erling Smørgrav
a39eb57a16 Collapse the Architecture and Machine columns to conserve screen space. 2003-10-10 23:25:43 +00:00
Dag-Erling Smørgrav
4b59e44a86 Discourage line breaks between the time of day and the time zone. 2003-10-10 22:41:00 +00:00
Dag-Erling Smørgrav
f5e8ed3d85 Add support for tinderbox(1)'s -h option. 2003-10-10 21:13:37 +00:00
Dag-Erling Smørgrav
8843f010b9 There is no need for $have_logs since we determine what platforms and
branches to show from what logs are actually present on disk.
2003-10-10 21:05:31 +00:00
Dag-Erling Smørgrav
b9dc5c11b8 Document the -h option. 2003-10-10 21:04:14 +00:00
Dag-Erling Smørgrav
ae7558858d Report the version number and hostname at the top of the log. Allow the
user to override the hostname on the command line (for whatever reason).
Add a comment to explain why a particular piece of code is commented out.
2003-10-10 20:59:51 +00:00
Dag-Erling Smørgrav
3ce6706cff s/GMT/UTC/ 2003-10-10 20:44:49 +00:00
Dag-Erling Smørgrav
38b28673a3 Allow wrapping between the date and the time. s/GMT/UTC/. 2003-10-10 07:11:54 +00:00
Dag-Erling Smørgrav
92f489a593 Build RELENG_5_1. 2003-10-10 07:10:33 +00:00
Dag-Erling Smørgrav
981152552a Instead of using hardcoded column and row headers, scan the log directory
to see what's of interest.
2003-10-09 02:30:34 +00:00
Dag-Erling Smørgrav
ef42b431bd Build a couple of security branches. 2003-10-09 02:18:37 +00:00
Ruslan Ermilov
21159d1687 Fix a bug that prevented exists() from finding "foo/", "foo/."
and "foo/.." when ".PATH: foo" was also given.

PR:		bin/34062
2003-10-02 21:30:30 +00:00
Sam Leffler
be9b20b07a o the kernel sysctl uses 'avg' for a key; change to suit
o change header field widths to match the kernel so columns line up
2003-09-19 21:52:29 +00:00
Sam Leffler
2128acac3b fix build 2003-09-19 17:18:32 +00:00
Dag-Erling Smørgrav
65c0d0bfeb Add support for stop files, the existence of which signals tbmaster to
skip particular platforms or configs, or simply stop running.
2003-09-19 09:15:10 +00:00
Dag-Erling Smørgrav
da4536cd6d Check that $verbose is defined before using it in a comparison. 2003-09-19 09:12:32 +00:00
Dag-Erling Smørgrav
48652808c4 Make char signed by default.
Submitted by:	grehan
2003-09-09 07:01:13 +00:00
Poul-Henning Kamp
a21af19141 In case of zero span data supress the histogram plot. 2003-08-18 11:13:19 +00:00
Poul-Henning Kamp
3b9b37bd54 A small statistics tool for gauging the statistical significance
of data from benchmarks etc.  Implements "Student's t" for various
confidence levels, defaults to 95%.

If your benchmarks are not significant at the 95% confidence level,
we don't want to hear about it.
2003-08-13 07:21:54 +00:00
Dag-Erling Smørgrav
503148a20c Add a comment about hcomp. 2003-08-05 19:35:41 +00:00
Dag-Erling Smørgrav
35f9ba02ce gif -> png 2003-08-04 21:11:33 +00:00
Dag-Erling Smørgrav
b5ed0e8e06 A Perl script which tries to "compress" headers by removing comments and
superfluous whitespace.
2003-08-04 13:10:01 +00:00
Dag-Erling Smørgrav
0cfef457a6 Parts of the patch have been committed. 2003-08-01 21:54:35 +00:00
Dag-Erling Smørgrav
20332394f8 powerpc patch. 2003-08-01 21:18:17 +00:00
Dag-Erling Smørgrav
6205801c80 Use a more generic patch name. 2003-08-01 21:17:43 +00:00
Dag-Erling Smørgrav
9ebd4b3025 powerpc still needs a patch. 2003-08-01 21:16:31 +00:00
Dag-Erling Smørgrav
1110b43744 Re-add support for patches. 2003-08-01 21:15:28 +00:00
Dag-Erling Smørgrav
20b0471597 Use PNG instead of GIF; add WWWOWN and WWWGRP variables to the Makefile;
add a shortcut icon.
2003-08-01 07:55:13 +00:00
Dag-Erling Smørgrav
378c1e90c3 The rc files have been repo-copied to a separate subdirectory. 2003-08-01 07:24:31 +00:00
Pierre Beyssac
af1a7621cf Add a regression test for the big pipe bug.
Suggested by: silby
2003-07-31 12:40:56 +00:00
Dag-Erling Smørgrav
cb065e0460 Braino in previous commit: lists are comma-separated. 2003-07-31 07:52:06 +00:00
Dag-Erling Smørgrav
f7f2eceb60 Make the experimental platforms tinderbox extra verbose. 2003-07-31 07:47:25 +00:00
Ruslan Ermilov
33a96c6f65 A simple tool to sanity check the contents of release/*/dokern.sh
and release/*/drivers.conf.
2003-07-28 18:18:20 +00:00
Dag-Erling Smørgrav
1c1d85facf DATE and PATCH are always defined, but may be empty. 2003-07-28 10:02:25 +00:00
Dag-Erling Smørgrav
4a35f45618 Remove redundant "targets", add NOLIBC_R and NOFORTH to environment 2003-07-28 09:51:52 +00:00
Dag-Erling Smørgrav
d117ab063e Install experimental.rc 2003-07-28 09:49:27 +00:00
Dag-Erling Smørgrav
9741efe751 Document --dump 2003-07-28 09:48:13 +00:00
Dag-Erling Smørgrav
153dd0a1a9 Revive the powerpc tinderbox that used to run on 9ball. 2003-07-28 09:46:48 +00:00
Dag-Erling Smørgrav
fd951241bd stanley uses a different sandbox. 2003-07-28 09:44:54 +00:00
Dag-Erling Smørgrav
a563d96873 Don't mail out failure reports from stanley. 2003-07-28 09:43:00 +00:00
Dag-Erling Smørgrav
d55094495a - add a -d option which dumps the configuration and exits
- initialize single-valued configuration variables to '' rather than undef
- allow empty values in configuration files
- take care to untaint $etcdir
2003-07-28 09:42:42 +00:00
Dag-Erling Smørgrav
b1e91d01fb powerpc isn't tinderbox-ready yet. 2003-07-25 22:17:28 +00:00
Dag-Erling Smørgrav
fd9eb4ba67 Ready to go live. 2003-07-25 07:18:06 +00:00
Dag-Erling Smørgrav
fe468ebbfb Complain about extraneous command line arguments. 2003-07-24 10:44:45 +00:00
Dag-Erling Smørgrav
f233d6e590 Install rc files from ${.CURDIR}, not ${.OBJDIR}. 2003-07-23 20:22:50 +00:00
Dag-Erling Smørgrav
b3b214e9f3 Sample configuration files. 2003-07-23 20:16:36 +00:00
Dag-Erling Smørgrav
9b573dd6f8 Rewrite tbmaster to use configuration files instead of a hard-coded hash. 2003-07-23 20:16:11 +00:00
Dag-Erling Smørgrav
0c0e412335 Improve the markup a little. 2003-07-23 20:15:49 +00:00
Diomidis Spinellis
37c94e1d78 Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR:		misc/25585
Submitted by:	Walter Briscoe <w.briscoe@ponl.com>
Approved by:	schweikh (mentor)
MFC after:	2 weeks
2003-07-22 19:22:08 +00:00
Sam Leffler
0c5b9ee7a1 add stat dumper for the safenet driver 2003-07-21 21:58:04 +00:00
Dag-Erling Smørgrav
da60560610 Look for logs in the directory where we place the output. 2003-07-18 07:43:43 +00:00
Dag-Erling Smørgrav
90e476c26d Fix taint bug in previous commit. 2003-07-18 07:29:00 +00:00
Dag-Erling Smørgrav
cc1f50a9fe Generate index.html in the same directory. 2003-07-18 07:24:13 +00:00
Ruslan Ermilov
c94d70434f Fixed broken arithmetic expression parser.
Reminded by:	bde
In memory of:	alane
2003-07-04 13:33:48 +00:00
Sam Leffler
64125f9866 bring in ath-specific test tool; more to follow 2003-06-28 18:26:23 +00:00
David Schultz
3f0b22498b Add regression tests for floating point parsing in scanf(3). 2003-06-28 09:03:44 +00:00
Dag-Erling Smørgrav
99dca055e8 amd64 is actually stable enough for the regular -CURRENT tinderbox now. 2003-06-20 16:57:37 +00:00
Dag-Erling Smørgrav
47e898fefd Set the precedence on failure reports to "bulk" so I don't get tons of
vacation notices every time the tree breaks.
2003-06-14 12:36:13 +00:00
Greg Lehey
403de99214 Replace hard-coded module path with a keyword which gets changed when
the kernel is built.
2003-06-12 08:11:08 +00:00
Greg Lehey
36572f4867 Make defproc work. 2003-06-08 06:11:15 +00:00
Greg Lehey
3a40ab54ef Make btpp and fr work. There's still more to be done. 2003-06-08 06:10:45 +00:00
Greg Lehey
ec9e4dd1da Terminate echoed lines. Unlike echo(1), gdb echo doesen't
automatically terminate them.
2003-06-08 06:08:28 +00:00
Greg Lehey
fd23735366 Get the manual section number for kldstat(8) right. Comment change only.
Pointed out by:	yar
2003-06-07 01:17:04 +00:00
Greg Lehey
b38d4c0188 Modify startup mode: don't specify the file name for the debug kernel,
so it needs to be (and can be) specified on the command line.  Don't
try to automatically connect to a remote machine, so that the same
.gdbinit file can be used for analysing processor dumps.
2003-06-07 01:15:07 +00:00
Greg Lehey
030b9a7c93 Add macros for kernel debugging. These have been around for a
while, and they will need some more tuning before they're really
useful, but at the moment they're better than nothing.

Indirectly reminded by: dwhite
2003-06-07 01:01:42 +00:00
Tim J. Robbins
57f0ef1f50 Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
Dag-Erling Smørgrav
e74fa2cec0 Mail out -STABLE tinderbox failures as well. 2003-06-05 13:50:38 +00:00
Tony Finch
7d3a298ba9 Add tests for the behaviour of substitution when the regex can match
a zero-length string. This shows bugs in the s///g and s///2+ cases.
2003-06-04 15:26:23 +00:00
Sam Leffler
8b9f78baa4 Merge from private version:
o add hash operations
o make AES operations useful: split into 3 ops based on key length (specify
  aes for AES w/ 128 bit keys, aes192 for 192-bit keys, and aes256 for
  256-bit keys
o add -c option to force encrypt->decrypt result to be compared against the
  original plaintext (need to compare it against a known good implementation
  like openssl)
o change multi-threaded test output to be more meaningingful
o fix default block size selection to consider algorithm's blocking needs
2003-06-02 23:45:32 +00:00
Poul-Henning Kamp
06a31d6a67 write pattern to /dev/ccd3 not /dev/ccd3c 2003-06-02 19:49:09 +00:00
Dag-Erling Smørgrav
bb4bb09d45 Remember to close the read end of the pipe. 2003-05-26 12:12:45 +00:00
Ruslan Ermilov
5d29610095 -lbsdxml lives in lib/libexpat. *Blush*
Submitted by:	tmm (Makefile.inc1)
2003-05-18 00:40:22 +00:00
Dag-Erling Smørgrav
6a5997dee6 Document the DATE configuration field. 2003-05-17 22:40:34 +00:00
Dag-Erling Smørgrav
a0b3c56374 Fix a bug in report() which prevented two failure reports today from
reaching the lists.  Also add support for tinderbox.pl's --date option.
2003-05-17 22:38:36 +00:00
Dag-Erling Smørgrav
97e0102665 Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}. 2003-05-17 14:15:59 +00:00
Dag-Erling Smørgrav
64afb48f6c Make some spaces non-breakable. 2003-05-17 14:13:51 +00:00
Dag-Erling Smørgrav
d9bc08dd81 Constrain the chekout date to ISO format (yyyy-mm-dd) and add a special
case, "today", which corresponds to 00:00 on the day the run starts.

Remove NO_CPU_CFLAGS and NO_CPU_COPTFLAGS.  This should be safe since we
clear the environment and set __MAKE_CONF to /dev/null.  NO_CPU_CFLAGS
actually breaks the Alpha release by preventing the inclusion of -mieee
in CFLAGS.

Do not set BUILDNAME as the release/Makefile already constructs a better
one than we do (though I wish there was a way to s/-SNAP/-TINDERBOX/)
2003-05-17 14:12:48 +00:00
Dag-Erling Smørgrav
9878532be8 More configuration tweaks. Rename %CONFIGS to %SETUPS to make the code
clearer (particularly to someone who has read the man page).  Don't print
anything on stderr.
2003-05-16 14:01:02 +00:00
Dag-Erling Smørgrav
16b7723c4f Document the fact that tinderbox(1) accepts environment variables on the
command line.  Also sort the xrefs correctly.
2003-05-16 13:58:20 +00:00
Dag-Erling Smørgrav
f0bd8792bb More oats for the beggars' horses. 2003-05-16 12:11:13 +00:00
Dag-Erling Smørgrav
cef526c27c Be careful what you wish for - you might get it!
Wished for by:	ru
2003-05-16 10:59:40 +00:00
Dag-Erling Smørgrav
7f34345c68 Add a 'patch' command rather than apply the patch unconditionally.
Don't try to clean the release chroot, leave that to the release Makefile.
2003-05-16 10:58:35 +00:00
Dag-Erling Smørgrav
3dcbbed7f3 Don't be so sensitive; /\bStop\b/ can occur in normal output and trick
tbmaster into thinking the build failed.  Look for /^Stop in / instead.
2003-05-16 10:55:49 +00:00
Dag-Erling Smørgrav
ae2568e5f3 Overhaul the reporting code, making sender, recipient and subject fully
configurable.

Add support for tinderbox.pl's --patch.

-STABLE releases won't build with NOPERL (kernel builds use Perl).
2003-05-16 07:54:47 +00:00
Dag-Erling Smørgrav
b2b8f6223b Add support for local patches (which are also passed on to make release)
--verbose was a little too verbose, especially while cleaning the sandbox.
2003-05-16 07:52:38 +00:00
Dag-Erling Smørgrav
ccd60d5c3d Explicitly set the sandbox directory (it defaults to ~/tinderbox which is
wrong when running a release tinderbox as root)

Use the setup's COMMENT field in the subject of the failure report, instead
of just "$branch tinderbox".

Tweak the test setups.
2003-05-15 20:33:33 +00:00
Dag-Erling Smørgrav
1a1ab60d64 'make release' should run from src/release, not src. 2003-05-15 20:30:21 +00:00