Commit Graph

886 Commits

Author SHA1 Message Date
bms
0ac71b801c Braino. Revert previous commit, NO_MAN was already corrected.
Noticed by:	imp
2005-01-21 18:12:47 +00:00
bms
7dbaec2b97 Catch up with NO_MAN->NOMAN change. 2005-01-21 17:38:02 +00:00
bms
3933cd4e50 If a device resides in physical slot 0, report it as being on-board as
per PIR specification.
Add the VIA VT82C686 PCI interrupt routing function as a known chipset.
2005-01-21 17:11:38 +00:00
bms
b99e3f39fe Fix a masking error. Update copyright. 2005-01-21 17:05:33 +00:00
bms
9dbf507683 Do not treat an invalid PIR table checksum as a fatal error condition, but
do print a warning about it.
Correct a stupid logic error.
Update copyrights.  Fix whitespace bug.

MFC after:	1 week
2005-01-21 16:15:24 +00:00
silby
67f0a2039e Add two more pipe regression tests. Not yet hooked into the test framework. 2005-01-21 06:46:18 +00:00
phk
b99c38ceb3 ioctl(2) commands are u_long not int.
Pass zero for sysctl new argument length, not NULL);
2005-01-18 07:42:17 +00:00
rwatson
ea812ffcf7 In refactoring the test before committing, a pointer was passed instead
of a structure for the sockaddr_in.  Pass the pointer to connect()
instead of the pointer to the pointer.

Specify a port number to connect to.
2005-01-16 15:01:28 +00:00
rwatson
69eae68c08 Add udpconnectjail, a simple regression test to exercise an (as yet)
unfixed bug in the jail() implementation relating to using the connect()
system call on UDP sockets.

PR:	26506
2005-01-16 13:05:32 +00:00
sobomax
319257bc18 Add test which excersises problem with unability to change association of
already associated datagram unix domain socket by issuing connect() system
call.
2005-01-12 09:57:18 +00:00
das
e71d433311 Regression tests for [l]lrint[f]() and [l]lround[f](). 2005-01-11 23:13:36 +00:00
pjd
8d8363ee39 Introduce a new GEOM class - SHSEC. It provides sharing secret between
the given providers. Without even one of the configured components there
should be no way to get the secret.

Supported by:	WHEEL Sp. z o.o.
		http://www.wheel.pl
2005-01-11 18:06:44 +00:00
pjd
fb444128a4 Fix incorrect comment.
MFC after:	3 days
2005-01-11 14:11:14 +00:00
arr
dca5910ce3 - Initial revamp of vop_table.tcl. This scripting is ugly and will be
cleaned up; just wanted to make a place holder.  The biggest issue is
  that it is an incomplete revamp; that is... the inconsistent naming
  table generation is not done yet ... will be added soon with the clean
  up.  The purpose of this script is to handle the vop_vector changes that
  phk@ did over the recent weeks.
2005-01-05 06:53:03 +00:00
rwatson
aedc2f346a Add a simple regression test for mlock()/munlock() to make sure they
work on a single page as root, and fails on a single page as nobody.
Intended to help diagnose reports regarding insecure memory use with
gnupg.
2005-01-03 19:56:20 +00:00
marcel
90a64b80c5 Replace a mention of the ia64_unaligned directory with one of the
ia64 subdirectory. All ia64 specific regression tests live under
the ia64 directory.
2005-01-02 21:40:36 +00:00
marcel
5370f7380f Regression test for unaligned loads and stores for short, int, long,
float, double and long double types. No post-increment tests yet.
All tests are skipped if the debug.unaligned_test sysctl variable
cannot be set to 1.
2005-01-02 21:33:40 +00:00
sam
c0488e737c new stat 2004-12-31 22:06:19 +00:00
arr
8de6777f0a - Add some notes on what is required to run schedgraph.py successfully.
This was pulled from Jeff Roberson's email to current@ "the other day."

Approved by: jeff@
2004-12-28 00:49:02 +00:00
jeff
7b0ff93d2d - For preemption and yield events, we want to skip the next two state events
as they are the setrunqueue() and sched_add() calls.  Since they happen
   immediately before the thread is placed on a run queue they would normally
   dwarf the more informative preemption or yield event and it is implicitly
   understood that a thread is back on the run queue as part of these events.
2004-12-26 03:25:08 +00:00
jeff
8d13141666 - Call self.checkstamp() in the cpu load parsing functions in case the
timestamp has wrapped.
2004-12-26 02:02:34 +00:00
jeff
d74da89b42 - The regexp for the load should have been (/d+), fix this so loads over 9
are properly represented.
2004-12-26 01:18:49 +00:00
jeff
02bd7382cc - Add 'schedgraph' a scheduler trace visualization tool written with
python and tkinter.  Schedgraph takes input from files produces by
   ktrdump -ct when KTR_SCHED is compiled into the kernel.  The output
   represents the states of each thread with colored line segments as well
   as colored points for non-state scheduler events.  Each line segment and
   point is clickable to obtain extra detail.
2004-12-26 00:13:07 +00:00
pjd
085de6ea5e Wait a bit after creating device. 2004-12-21 19:03:10 +00:00
pjd
13636f516f When RAID3 device is configured in "verify" mode, synchronization of the
parity component is now force on creation.
Change regression test which check "verify" mode to work properly after
this change.
2004-12-21 18:48:59 +00:00
keramida
1f936587ca Fix the build of netrate/ with WARNS=5 and add a Makefile.inc to
make it the default for all the netrate test tools.

Approved by:	rwatson
2004-12-21 12:14:34 +00:00
ru
8f62cc9941 NOHTML -> NO_HTML 2004-12-21 12:05:11 +00:00
ru
b74e87102d Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID
2004-12-21 12:01:15 +00:00
ru
5c04306fea NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
ru
f6f8222630 NOGAMES -> NO_GAMES 2004-12-21 10:36:54 +00:00
ru
74176cc161 NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
2004-12-21 09:33:47 +00:00
ru
3b01b84505 NOATM -> NO_ATM 2004-12-21 09:08:06 +00:00
ru
ba3655c74f NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR
2004-12-21 09:00:26 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
phk
47c37eb878 Change terminal state, not terminal type 2004-12-18 16:31:21 +00:00
gallatin
6144e74fca Make kttcp work in -stable (and -current)
- Removed kttcp_sosend() and kttcp_soreceive() in favor of using
  sosend() / soreceive() with UIO_NOCOPY.  The locking changes in the
  socket layer make merging the kttcp_so* and the so* routines a real
  pain.  It was a lot easier to just use the integrated routines.

- Eliminated KTTCP_MAX_XMIT restrictions on send and receive sizes
  because I encountered no problems with streams larger than MAX_INT.
  MAX_INT bytes is only good for a few seconds at 4Gb/sec ;)

- Removed Giant from send / recv routines.

- Fixed character device protos, cdevsw init, etc, to work in 5.x /
  6.x

Reviewed by: sam
MFC after: 1 week
2004-12-13 20:40:16 +00:00
sam
b63f688d6c Loadable modules that run test vectors for net80211 crypto plugins. 2004-12-08 17:45:53 +00:00
sam
21e06e4bb0 o new tools for futzing with 80211 and ath debug masks symbolically
o update stats programs to reflect driver and net80211 changes
2004-12-08 17:42:53 +00:00
harti
c90efa2b2f Fix builds with a read-only directory and a make upgrade. This is done
by forcing the creation of an object directory for the make regression
tests. Let make handle the tracking of the dependency and installation
of test_shell script.

Submitted by:	ru
2004-12-07 14:41:16 +00:00
pjd
89697130c6 Raidtest is now in the ports collections. 2004-12-07 14:24:23 +00:00
rwatson
3522c0a675 Print a warning if running as !root for aio_md_test rather than failing
the test.  Privilege is required in order to allocate an md device.
2004-12-06 13:15:23 +00:00
rwatson
8bd5ca5854 Add a basic aio functionality regression test, which simply writes and
then reads from a fairly broad range of object types: regular file,
fifo, UNIX socketpair, pty, UNIX pipe, and an md device.  Not a deep
test of functionality, just a basic test that aio_write followed by
aio_read returns the correct data in a relatively timely manner.

Requested by:	phk
2004-12-06 12:56:38 +00:00
ru
0a293bea5c Make this work under debugging, e.g., "make -dl". 2004-12-06 08:51:30 +00:00
obrien
91a6b9ee83 Now as a full blown port. 2004-12-05 04:16:36 +00:00
harti
b9b9fdbd3f Make the tests runnable on a read-only src. To do this you must make sure
that you create one of the object directories make knows (see make(1)).
This uses the -C flag, so add a test that checks that make actually accepts
-C. Also fix the test that selects csh via the .SHELL target to work for
tcsh users too.

This commit renames shell_test to shell_test.sh. There is no history
to preserve so go without a repo-copy.

Reviewed by:	ru
2004-12-02 17:00:58 +00:00
nik
a138ae34c4 The following code sets up two connected TCP sockets that send data to each
other until the window is closed. Then one of the sockets is closed, which
will generate a RST once the TCP at the other socket does a window probe.

All versions of FreeBSD prior to 11/26/2004 will ignore this RST into a 0
window, causing the connection (and application) to hang indefinitely.
On patched versions of FreeBSD (and other operating systems), the RST
will be accepted and the program will exit in a few seconds.

Submitted by:	Michiel Boland
Reviewed by:	silby
2004-12-01 12:12:12 +00:00
harti
c87a620e46 Chmod the shell testscript to be executable if it isn't already. According
to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.
2004-11-30 15:33:18 +00:00
phk
f79d0d219a Change CUSTOMIZE example. 2004-11-28 17:14:03 +00:00
phk
3724ff7100 Make it possible to specify a list of customize scripts.
Look for them in ./Customize first, then relative to . and then absolute.
2004-11-28 17:12:15 +00:00
phk
c942915089 Add various customize scripts. 2004-11-28 17:10:44 +00:00
phk
a28dea3270 Hardlink the generated /etc/fstab to /conf/base/etc/fstab 2004-11-28 16:15:43 +00:00
phk
6b7c7e0258 don't mv(1) nonexistent directories. 2004-11-28 13:45:31 +00:00
phk
87fc8dfda2 Reduce -j12 to -j3 2004-11-28 13:28:04 +00:00
harti
f4e37f6f60 Add some regression tests for the .SHELL target. I'm not sure that the
output of shell_2j is actually correct - it just tests what make currently
does. Make should switch on echoing for the second line, shouldn't it?
2004-11-25 10:03:29 +00:00
peter
5366ae5ee5 Remove the build32.sh hack, it is now slightly broken (missing some
compile args) and would be harmful to use.  Leave the README pointing
to WITH_LIB32 for now.
2004-11-25 04:25:21 +00:00
tjr
4e61a637dc Remove regression tests for the obsolete rune interface. 2004-11-21 03:21:22 +00:00
das
35f1e7649c Remove the uarea column from the DDB 'ps' display, and from grog's gdb
scripts.

Reviewed by:	arch@
2004-11-20 02:32:42 +00:00
obrien
6c9183a0b3 Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 17:31:31 +00:00
obrien
07115bc66a Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456]. 2004-11-19 03:51:12 +00:00
bz
4b83c5852a Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
2004-11-13 20:40:32 +00:00
nik
3e959a33f9 Switch over to a different, more flexible test output protocol that's
understood by Perl's Test::Harness module and prove(1) commands.

Update README to describe the new protocol.  The work's broken down into
two main sets of changes.

First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.

Second, provide the .t files that actually run the tests.  In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.

Add a TODO file.
2004-11-11 19:47:55 +00:00
des
2e05970ab0 RELENG_5 is now -STABLE (but without powerpc) 2004-11-11 18:37:39 +00:00
des
7cec18a141 Install in /usr/local/bin. 2004-11-07 11:09:44 +00:00
pjd
91b08be043 Add description of all available options. 2004-11-06 17:19:55 +00:00
pjd
97a0c2205e Allow to write random data while testing RAID device, so we can also
test data integrity.
2004-11-06 17:10:24 +00:00
phk
f2cb74de87 Remove vinum bits. 2004-11-04 13:34:06 +00:00
phk
86fa6da853 Remove references to NO_VINUM 2004-11-04 12:57:40 +00:00
rwatson
2db191c4fe Add a small regression test that opens a TCP socket, listens on it,
performs a non-blocking connect from another socket, and then closes
the listen socket rather than accepting.  This is intended to
exercise the close path in which connections are aborted due to a
close on the listen socket while the connection is in the listen
queue.
2004-11-02 17:59:12 +00:00
blackend
d3d2befd51 Typo: s/Exampes/Examples 2004-10-25 20:56:24 +00:00
ru
e5247f7ec0 For variables that are only checked with defined(), don't provide
any fake value.

While here, sort NO*'s in dictionary order to ease searching by a
human being.
2004-10-24 15:52:04 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
rwatson
8ad3de471d Use errx() instead of fprintf()/exit() for conciseness.
Suggested by:	ru (some time ago)
2004-10-23 22:18:37 +00:00
rwatson
e5417785bf Use errx() instead of perror()/exit() for conciseness.
Suggested by:	ru (some time ago)
2004-10-23 22:11:35 +00:00
ru
8cebff99b3 Add a regression test for the alternate shell specification. 2004-10-23 21:38:58 +00:00
des
5fcc302e9b Use %zu to format size_t instead of %jd and an intmax_t cast.
Approved by:	hamlet
2004-10-23 15:58:50 +00:00
phk
6720f62dc5 Stop amd64 warnings. 2004-10-23 12:42:18 +00:00
blackend
eaf4c4162d Add NO_BLUETOOTH and NO_AUTHPF variables. [1]
While I'm there use lowercase "yes" for consistency.

Approved by:	phk [1]
2004-10-22 08:49:54 +00:00
blackend
ec23a3b685 Sort NO* variables.
Approved by:	phk
2004-10-22 08:45:34 +00:00
blackend
df05aed057 Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) require
LIBPTHREAD.

Approved by:	phk
2004-10-21 13:56:24 +00:00
keramida
a85fd49a1d Typo fix.
PR:		misc/72801
Submitted by:	Hywel Mallett <circular@hmallett.co.uk>
2004-10-18 00:45:28 +00:00
maxim
753747f96e Fix a typo: s/kerncruft/kernelcruft/.
PR:		misc/72792
Submitted by:	Hywel Mallett
2004-10-17 19:02:17 +00:00
ru
d399f4ecf4 Fixed a typo.
Submitted by:	Pawel Worach
2004-10-17 11:07:03 +00:00
keramida
2eb8bfd316 Add a regression test for floating-point output in the Greek locale.
See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src

Reviewed by:	das (a while ago)
2004-10-13 22:32:12 +00:00
peter
f8e9fe2c7c Don't leave noschg files laying around in /tmp 2004-10-11 22:14:47 +00:00
rwatson
bcc7e348ba Resort unprivileged uid with privileged socket after unprivileged uid
with privileged socket in test runs.

If running unprivileged and instructed to use unprivileged sockets,
don't try and use raw sockets.
2004-10-11 19:12:40 +00:00
rwatson
4040b36fa7 A number of improvements to the IP socket option API regression test:
- Consistently use err/errx/warnx throughout, rather than using perror()
  and exit().

- Teach the tests how to better manage (and therefore test) privilege:
  in particular, how to create sockes with root credentials but exercise
  the privileges with non-root credentials, etc.

- Teach the test suite to apply each of the non-IP_HDRINCL options across
  each of SOCK_DGRAM, SOCK_STREAM, and SOCK_RAW.
2004-10-11 19:03:53 +00:00
stefanf
d9abb42b26 Add regression tests for ilogb{,f,l}(). 2004-10-11 18:40:45 +00:00
rwatson
8e1f60d994 Add a simple exercise suite for IP-level socket options. The suite
atempts to read and write various IP-level socket options as root and
nobody, making sure the initial values are as expected, that they can
be changed to valid values and take effect, etc.  No attempt is made
to check for the correct implementation of side effects (such as
changes in packet headers) as yet.

The IP options section is currently broken but will be fixed shortly.

Not all multicast options are currently tested.
2004-10-11 16:09:45 +00:00
rwatson
e6a8dc9c17 Add a simple C-based TCP connection generator, which generates and
closes the specified number of TCP connections sequentially and
synchronously.  Useful for trying to trigger races in the accept
code.
2004-10-09 20:58:28 +00:00
rwatson
a0fc078f86 Add a version of netsend that uses the interval timer rather than
explicit clock reads to set an overall duration to the send, and
blasts rather than trying to clock output.  The goal of netblast,
unlike netsend, is to send as many UDP packets as possible; the
cost is that there's no ability to control the rate, and there's
less accuracy in the timing as the interval timer granularity is
relatively low.
2004-10-08 19:23:11 +00:00
rwatson
512c8317e2 Use int format string, not a long format string. 2004-10-08 12:28:28 +00:00
phk
d21b76886c Only print progress statistics once per second. 2004-10-08 10:50:40 +00:00
sam
c5a66f8d8b add 80211watch program 2004-10-05 19:53:32 +00:00
sam
c42407335a simple program to watch 802.11 events through a routing socket 2004-10-05 19:51:34 +00:00
rwatson
724b02db8c While calling perror() on send() failure was useful for debugging the
if_em "wedging" problem, large numbers of perror() calls impacts send
performance.  As such, just count the error, don't print it.
2004-09-30 06:17:26 +00:00
rwatson
af519fd928 Add syscall_timing, a simple timing micro-benchmark for some
characteristic system calls.  I've been sending this to people for
a while, and figured it would be more efficient to just put it in
CVS.
2004-09-30 05:25:00 +00:00
phk
d0514db4ed This is a small tool which will read an entire disk(partition) using
1M blocks and optionally write the read data to a file or disk.

If a read error happens, the 1M block gets put on the end of the worklist
and will be retried with 64k blocksize.

If a read error happens again, the 64k block gets put at the end of the
worklist and will be retried with single sector reads.

The program keeps trying until you stop it.

You can refresh a disk:

	recoverdisk /dev/ad1 /dev/ad1

or salvage a floppy:

	recoverdisk /dev/fd0 myfloppy.flp
2004-09-28 22:00:01 +00:00
jmg
b069886175 add my script that helps me handle MFC's. It takes in a commit message
and generates the proper (hopefully) update -j lines + commit line to do
the MFC...  This has saved me a lot of time doing recent MFC's...

You still should use diff to verify the changes before doing the commit..
2004-09-24 20:06:49 +00:00
rwatson
e1013efdd6 Print number of "waits" per second during transmission, not just waits
per call to send().
2004-09-24 18:02:31 +00:00
des
70ac2d0f2c Add mfc. 2004-09-24 15:25:35 +00:00
des
d8aa7d51b2 A simple shell script to help MFC an entire directory to a branch where it
does not already exist.
2004-09-24 15:24:12 +00:00
rwatson
3165926b59 Improve netsend timing logic in various ways:
- Centralize time comparison.
- Check clock resolution to make sure it has enough granularity to
  implement the desired wait interval.
- Keep track of how many times the timing loop has to spin waiting
  for the next send time; report statistics.
- Add commented out warning about deadlines being missed when
  spinning.
- Improve statistics reporting generally to provide a more useful
  summary of sender condition after a run.
2004-09-21 20:21:40 +00:00
rwatson
362f547d94 Set default socket size for netreceive to 128k to reduce the chances
of the buffer overflowing before netreceive can be scheduled to read
the packets from the socket.
2004-09-21 03:10:28 +00:00
des
07e6fe379f Don't forget to check defined() before testing the value. 2004-09-20 15:22:57 +00:00
ru
6ceb6b3015 Make this use a standard bsd.subdir.mk. 2004-09-20 14:04:00 +00:00
rwatson
72782378d5 netsend uses an arbitrary maximum send rate to reject bogus arguments.
It was previously 1mpps; raise to 10mpps.  While here, get the error
message right.
2004-09-19 22:57:21 +00:00
des
a327ab2ee1 Recognize options with values. If an option is present in both GENERIC
and the custom kernel, but its value has been modified, it will now be
kept in its correct spot instead of being moved to the bottom.
2004-09-19 21:21:26 +00:00
rwatson
1991acc23e Modify accept_fd_leak regression test to generate "PASS" output, not
just "FAIL" output, in order to make it consistent with other tests in
the regression test tree.
2004-09-18 13:06:00 +00:00
peter
942021ba90 Update path to c++ internals includes for the 3.4 location.
No longer use make -k since the libraries target should build now.
Remove hacks for gnu/lib/libregex.
2004-09-16 01:41:11 +00:00
peter
70ad7978cb Add libmagic to the explicit build-tools list. 2004-09-16 00:22:59 +00:00
peter
2188870a35 Make libcrypto/libssh cross compile 2004-09-15 23:15:53 +00:00
peter
cea236373e Fix typo in rev 1.2 "-DNOINFOall" should be "-DNOINFO all" 2004-09-15 23:01:28 +00:00
des
52a20a8652 Comment lines may have leading whitespace.
PR:		71773
Submitted by:	Antoine Brodin <antoine.brodin@laposte.net>
2004-09-15 21:10:46 +00:00
rwatson
a18be84c1f Add a very basic README for tcpstream. 2004-09-13 16:53:40 +00:00
rwatson
ed6044d475 Add tcpstream, a simple TCP stream generator that uses a pseudo-random
sequence to detect data corruption visible to an application.
2004-09-13 03:17:22 +00:00
rwatson
29bafe6120 Add netrate (netreceive, netsend), a tool for generating (and sinking)
UDP packets of specified size at a fixed rate.  I've been using this for
netperf-related testing.
2004-09-10 19:09:50 +00:00
des
5d17d7721f Make the output more suitable for use in a frameset. 2004-09-08 16:04:38 +00:00
sam
7ad4b5615e new version of cryptotest (w/ only code from me)
Reviewed by:	imp
2004-09-07 18:35:00 +00:00
stefanf
6d0c938ba1 Add a regression test for <tgmath.h>. 2004-09-04 11:34:53 +00:00
ru
083ce78d85 Join the effort in simplifying this makefile. ;) 2004-09-03 06:18:52 +00:00
rwatson
621b91453c Pass O_NONBLOCK directly to fcntl() rather than the pointer to an int
holding the value O_NONBLOCK.  This worked previously because I was
lucky.
2004-09-02 21:41:57 +00:00
rwatson
b9685c935d Don't override the rule used to build a binary by providing our own
compiler line.
2004-09-02 21:37:50 +00:00
des
ff465de13a Add -c option to preserve comments from GENERIC in the output. 2004-08-29 19:45:50 +00:00
des
044539800a Add genericize, a Perl script that converts a kernel config into something
more easily diffable against GENERIC.
2004-08-28 13:36:16 +00:00
obrien
7c80b82fd9 Update for latest make(1) changes.
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-08-24 17:33:42 +00:00
rwatson
a52ebd899d Make sure to properly initialize 'size' to sizeof(sin) before passing
it into accept().  Depending on the initial value in memory, it is
otherwise possible to get EINVAL.
2004-08-24 04:59:26 +00:00
rwatson
45da4deacb Add a basic kqueue + UNIX domain socket pair regression test to do some
elementary exercising of kqueues on datagram and stream sockets.  Note
that the datagram write kqueue case is left untested due to potentially
confusing behavior for the developer (me) that might require attention.
2004-08-24 04:02:41 +00:00
pjd
9602bb2cd9 Regression tests for 'verify reading' algorithm. 2004-08-22 16:26:09 +00:00
thomas
a4418fa3a8 Fix positional parameter reference to ${10}.
Fix target location for generation of fstab.

PR:	bin/70795
2004-08-21 20:21:49 +00:00
pjd
6ac179d92c Add regression test for the new "round-robin reading" feature. 2004-08-21 18:14:55 +00:00
pjd
2f1906caa2 Add description of raidtest tool. 2004-08-20 16:56:43 +00:00
pjd
bd124ccfb5 - fflush() standard output before fork()ing.
- Remove redundant 'break'.
2004-08-20 12:49:09 +00:00
pjd
7ee655e7b6 Add the raidtest tool, which can be used for performance tests of storage devices.
It uses random offsets, random requests size and random operation type (READ or
WRITE). It also allows to run many processes to send I/O requests in parallel.
2004-08-20 12:02:34 +00:00
des
573364fb62 Remove a couple of warnings and tweak an error message. 2004-08-20 10:23:22 +00:00
des
a05183855a Copy open_locked() from tinderbox.pl and use it to optionally acquire a
lock file upon startup.  If this fails, tbmaster will simply terminate.
2004-08-20 08:10:30 +00:00
des
736d98ed04 Print the patch file name in the warning message for missing patch files. 2004-08-19 07:31:10 +00:00
des
8f59c24c11 Clean up, add update_releng_[45].rc. 2004-08-19 07:28:30 +00:00
des
31b763b78b RELENG_5 is now available. 2004-08-19 07:27:42 +00:00
des
a36fbf13a8 Branches of interest are RELENG_4_{8,9,10}. 2004-08-19 07:27:21 +00:00
des
80d319927b Comment out the timeout setting; it doesn't work properly. 2004-08-19 07:26:31 +00:00
thomas
795682e917 Example configuration files for customize.sh.
Approved by:	re (scottl)
2004-08-16 22:55:51 +00:00
thomas
bf9c75f97d Add documentation of the newly-added user-configurable Makefile knobs.
Approved by:	re (scottl)
2004-08-16 22:52:40 +00:00
thomas
efc85186f0 Add example customization script, to be used through CUSTOMIZE Makefile knob.
Approved by:	re (scottl)
2004-08-16 22:46:58 +00:00
thomas
fd87ccf13c Properly identify the root filesystem to be used in /etc/fstab in each
slice of the flash card, ensuring that the loader will mount the root fs
from the booted slice by default.

Allow usage of FFS volume labels instead of hardcoded device names through
WITH_GEOM_VOL Makefile knob.

Approved by:	re (scottl)
2004-08-16 22:41:58 +00:00
dfr
597fea43c0 Remove some debug cruft from the Makefiles and make them ${.OBJDIR}
friendly.
2004-08-16 09:35:49 +00:00
pjd
b636607ce6 Add regression tests for GEOM_RAID3. 2004-08-16 09:09:23 +00:00
ru
cfe021dc2b Replaced COPTS by equivalent CFLAGS. 2004-08-13 14:21:49 +00:00
fjoe
520f0cfead Regen. 2004-08-13 09:56:22 +00:00
fjoe
4cdbb4e4ad Regression test for geom_uzip. 2004-08-13 09:53:52 +00:00
harti
d04c2b4f9d Add a regression test for the ATM call control stuff. 2004-08-13 09:27:21 +00:00