Hartmut Brandt
82eb7072de
Remove extra spaces. Remove double quotes around error messages -
...
they are not needed and will actually be printed.
Submitted by: ru
2004-08-05 08:44:00 +00:00
Doug Rabson
3b9474cc07
This file is not suppose be be all one big comment :-(
...
Pointed out by: ssouhlal
2004-08-05 08:07:40 +00:00
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