Robert Watson
4f29da19bd
Add a regression test to exercise the case where accept() is called and
...
the next waiting socket has had a close on the remote endpoint already.
2006-04-03 10:08:35 +00:00
Stefan Farfeleder
b333fbe98d
Add test cases that check utility syntax errors and redirection errors. For
...
special built-in utilities they must terminate the shell, for other
utilities only a error message shall be written. We currently fail both
tests.
2006-04-02 19:02:49 +00:00
Robert Watson
876f7f842a
When running the second part of the test, kill off the server process from
...
the first part before starting, or the TCP port we want to bind may be in
use still. Sleep for a short period between tests.
Use SIGTERM instead of SIGKILL.
2006-04-02 11:09:37 +00:00
Robert Watson
dfe0ec64aa
Pass the right pid into the parent and child tasks so that when a test
...
fails, we kill the right partner process.
2006-04-02 11:03:05 +00:00
Robert Watson
8c4d74c408
Add makefile for tcpsocktimewait missed in previous commit.
2006-04-02 10:50:46 +00:00
Robert Watson
b4c2aeb1c4
Add a short regression test that triggers a TCP socket to enter time wait
...
while the socket is still open; one variant closes the socket while in
time wait, and a second lets time wait expire while the socket is open.
2006-04-02 00:07:38 +00:00
Poul-Henning Kamp
3586fcede9
Overlooked that src.conf was built from here.
2006-04-01 18:34:30 +00:00
Dag-Erling Smørgrav
1db30bb2dd
Reflect progress in process title.
2006-03-27 10:29:12 +00:00
Robert Watson
416c476c47
Add spxabort, a simple netipx/spx regression test that triggers
...
pru_abort() by closing a listen socket while completed connections are
presenting in its listen queue. Unfortunately, it's difficult to
trigger the other two pru_abort() cases using user APIs, so they are
not covered by this test.
2006-03-27 00:03:37 +00:00
Robert Watson
d70f997e49
Add simple regression test to ping pong a data packet over SPX in stream
...
mode. Support both connection via connect() and sendto(), but don't
compile in sendto() for now, since netipx doesn't appear to actually
implement that (doh).
2006-03-26 19:10:27 +00:00
Robert Watson
c0bb7e6a97
Add a simple IPX datagram regression test, which opens two IPX datagram
...
sockets, binds a local port, sends a datagram, and confirms that it is
received.
2006-03-26 18:25:53 +00:00
Robert Watson
8403b3d7cc
Add a short README with configuration hints to get the netipx regression
...
tests up and running. This is likely a message to myself in six months
when I've completely forgotten how.
2006-03-26 17:42:04 +00:00
Simon L. B. Nielsen
f4aac5a410
Use tr(1) to lowercase strings in a way which works with all locales.
...
Approved by: cperciva (mentor)
2006-03-26 17:17:10 +00:00
Robert Watson
94fdcc2ee8
Modify ipxsocket regression test to create and close sockets several
...
times, with variable length sleeps between socket() and close(). This
will help to ensure that IPX/SPX timers fire while the sockets are
open, and hence have PCB's on the IPX pcb list, so that if timers are
going to stumble over PCB types they don't expect, it will happen as
part of this test.
2006-03-26 15:49:35 +00:00
Robert Watson
f4cda13bed
Add simple ipxsocket regression test: open, and close, various IPX socket
...
types supported by the FreeBSD netipx implementation.
2006-03-26 01:58:39 +00:00
Poul-Henning Kamp
29ed18f45e
Get the MK_FOO column right
2006-03-25 21:51:46 +00:00
Poul-Henning Kamp
f5ce64b924
Update build survey scripts
2006-03-25 10:50:40 +00:00
Ruslan Ermilov
41c8ddc37f
Fix generation of '$FreeBSD$'.
2006-03-21 09:08:45 +00:00
Ruslan Ermilov
8644ea9e0a
Slightly better description.
2006-03-21 09:06:24 +00:00
Ruslan Ermilov
c5922fbf80
A tool to generate the src.conf(5) manpage.
2006-03-21 09:05:42 +00:00
Dag-Erling Smørgrav
e2ed8189e9
Open the lock file write-only.
2006-03-21 08:08:58 +00:00
Ruslan Ermilov
5990647d42
Prepare to autogenerate the src.conf(5) manpage.
2006-03-21 07:50:50 +00:00
Ruslan Ermilov
6f1a7c180c
Remove an outdated README.
2006-03-21 07:26:51 +00:00
Robert Watson
87569f75a9
Merge Perforce change 93572 from TrustedBSD audit3 branch:
...
Simple audit pipe ioctl regression test.
Obtained from: TrustedBSD Project
2006-03-19 15:47:53 +00:00
Robert Watson
f2c40a5119
Change s_net to s_node when printing the destination address.
2006-03-17 20:14:25 +00:00
Ruslan Ermilov
d1e9def254
NO_MAN is not needed here.
2006-03-16 15:18:17 +00:00
Ruslan Ermilov
6aebd02aa8
Style: NO_MAN doesn't need any value.
2006-03-15 10:46:38 +00:00
Poul-Henning Kamp
f6b9c5c2a9
In addition to -b (suppress builds) add -k (suppress kernel build) and
...
-w (suppress world).
2006-03-09 14:43:07 +00:00
Hajimu UMEMOTO
9bbad495a3
NOMAN --> NO_MAN
2006-03-07 14:26:17 +00:00
Wojciech A. Koszek
283e3098bb
Allocate proper amount of memory. Otherwise, we pass the end of a buffer,
...
thus having unpleasant warning. Was found by jemalloc redzone code.
Reviewed by: rwatson
Approved by: cognet (mentor)
2006-03-06 22:31:25 +00:00
Sam Leffler
f4ff12f3be
fixups
...
Submitted by: ru
MFC after: 3 days
2006-03-06 21:51:27 +00:00
Sam Leffler
c322e13c55
fix for non-i386/amd64 machines
...
Submitted by: marcel
MFC after: 3 days
2006-03-06 02:58:25 +00:00
Dag-Erling Smørgrav
c621d49b4d
Update copyright years and remove third clause.
2006-03-02 14:00:40 +00:00
Dag-Erling Smørgrav
63eaf3778d
Read site.rc after default.rc.
2006-03-02 13:58:04 +00:00
Dag-Erling Smørgrav
cf3d1b4df7
Ignore generated files.
2006-03-02 13:54:01 +00:00
Sam Leffler
6328732d02
when acpi does not explicitly enumerate lapic/cpu's there should
...
only be 1
Reviewed by: jhb
2006-02-28 17:48:33 +00:00
Wojciech A. Koszek
d2f4defee2
Fix the way in which median is calculated. If the data source has even
...
number of data points, value should be calculated by adding two middle
elements and dividing them by 2.
Approved by: cognet (mentor)
2006-02-23 20:46:10 +00:00
Sam Leffler
ed7b0743d7
test program to check cpu counting
...
MFC after: 1 week
2006-02-22 21:51:09 +00:00
Matthew N. Dodd
c153cdd1b8
Add option -w to specify graph width.
...
Use COLUMNS, terminal width for default graph width.
Reviewed by: rwatson
2006-02-22 04:10:20 +00:00
Robert Watson
49a5a25925
Add multi-process support to simple http micro-benchmark, now the default.
...
Use -t for thread support. Also added are -n to specify number of threads
or process, and -s to set the length of the test.
2006-02-22 02:54:43 +00:00
Robert Watson
ea8cc0217d
Add multi-process support to simple httpd micro-benchmark, which is now
...
the default. With -t, threads are used.
2006-02-22 02:54:04 +00:00
Pawel Jakub Dawidek
49fa8b70c6
Add regression test which verifies that options -P and -i cannot be used
...
together.
MFC after: 3 days
2006-02-12 02:07:56 +00:00
Dag-Erling Smørgrav
886c2d227c
Use -O2 on RELENG_6 as well
2006-02-03 10:55:00 +00:00
Pawel Jakub Dawidek
2867c5c8b0
Add regression tests which will verify that giving no key components for
...
init/attach/setkey subcommands is really impossible.
MFC after: 3 days
2006-02-01 15:17:45 +00:00
Pawel Jakub Dawidek
551fdafaf4
Add simple tests which verify that redzone(9) works properly.
2006-01-31 11:20:13 +00:00
Dag-Erling Smørgrav
5b5139a9da
Avoid triggering autovivification of %config entries, which would result in
...
an empty addenda section.
Handle kernel configs that lack a "machine" line by guessing at the location
of GENERIC (assuming that it is in the same directory as the config file)
2006-01-30 10:46:01 +00:00
Robert Watson
7f9f1e422f
Use $FreeBSD$ for the juggle version, rather than $P4$. This is good for
...
two reasons:
(1) juggle is now maintained in CVS, not P4, so the CVS revision number is
the authoritative one.
(2) Apparently $P4$ requires special handling and juggle was not marked
as needing it, resulting in problems for the P4 importer.
Requested by: gordon
2006-01-28 21:03:16 +00:00
Florent Thoumie
e4b6cbeda7
- Fix infinite loop in strip_log().
...
- Remove useless variable.
Submitted by: jkim
Approved by: jkim
2006-01-25 23:47:12 +00:00
David Xu
77efa49867
s/sigval/sival/g
2006-01-22 03:46:03 +00:00
Poul-Henning Kamp
84dd7338d4
Add two new variables:
...
# Size of the /etc ramdisk in 512 bytes sectors
NANO_RAM_ETCSIZE=10240
# Size of the /tmp+/var ramdisk in 512 bytes sectors
NANO_RAM_TMPVARSIZE=10240
And a last_orders() shell function which can be redefined to copy
finished images away, order peanuts or whatever else is appropriate
2006-01-17 08:33:53 +00:00
Florent Thoumie
0bd03d1e35
I missed a whitespace in the generated commit message.
...
Approved by: ssouhlal (implicit)
2006-01-15 01:01:46 +00:00
Florent Thoumie
d40c7ae437
Bump version.
...
Approved by: ssouhlal (implicit)
2006-01-13 20:43:00 +00:00
Florent Thoumie
b2e939b99d
Now with multi-commit support.
...
Use: `./mfc.pl -m "msg-id-1 msg-id-2" -i hurray'
or `./mfc.pl -f - -i yippee' and copy/paste two commit logs
Approved by: ssouhlal (implicit)
2006-01-13 20:41:04 +00:00
Florent Thoumie
72e8069dc7
- Fix issue when X-FreeBSD-CVS-Branch is not HEAD.
...
Submitted by: jkim
Approved by: jkim
2006-01-13 00:47:42 +00:00
Florent Thoumie
59d00daaff
Ok, I've created a test suite to avoid such regressions. Sorry for the noise.
...
Approved by: ssouhlal (implicit)
2006-01-11 16:51:21 +00:00
Florent Thoumie
6dd881af19
- Fix another bug, it seems sometimes mail is sent to cvs-all but not cvs-ports.
...
Approved by: ssouhlal (implicit)
2006-01-11 16:22:24 +00:00
Florent Thoumie
6acd437b62
- Fix search.
...
- Fix author matching.
Approved by: ssouhlal (implicit)
2006-01-11 16:00:38 +00:00
Florent Thoumie
9e28677ee3
- Remove netcat dependency by using fetch (not sure why i used nc
...
in the first place).
- Add some XXX lines as a TODO.
- Add a cvs diff command to the generated commit script.
- Add cdiff/colordiff to the list of optional dependencies.
- Fix a problem when giving the commit mail without the headers to
mfc.pl -f, it should now work correctly.
- Bump version.
Approved by: ssouhlal (implicit)
2006-01-11 02:53:54 +00:00
Florent Thoumie
217e76a9e3
- Add a new MFC script that takes a message-id, a commit mail or a query string and
...
generates a patchset along with a commit message and a commit script if the user has
commit rights.
- Add a README file to give a quick description of each script's purpose.
Approved by: netchild
2006-01-10 14:33:20 +00:00
Poul-Henning Kamp
1152ba39fe
Add missing ' and '
...
Submitted by: simon
2006-01-06 11:31:59 +00:00
Poul-Henning Kamp
c9dae3c0cc
Make this more readable and add more devices.
...
Partially from: mich@FreeBSD.org
2006-01-06 11:11:03 +00:00
Hartmut Brandt
154508976b
Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieve
...
the name and unit number assigned by the driver. This is needed by
SNMP to find interfaces after they have been renamed.
MFC after: 4 weeks
2006-01-04 12:57:09 +00:00
Tai-hwa Liang
1f3fbd6cba
Adding another multi-byte characters related regression test for recent
...
nmount(2) adoption.
2006-01-01 01:28:31 +00:00
Doug Rabson
c0b9f4fe65
Add a new extensible GSS-API layer which can support GSS-API plugins,
...
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.
Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
2005-12-29 14:40:22 +00:00
Robert Watson
4992df3ead
Add 'juggle', a simple IPC micro-benchmark that uses various IPC types to
...
perform varying number of small IPC operations. It runs using a single
process and one thread, a single process and two threads, and using
multiple processes. Critical to its performance measure are the cost and
frequency of context switches, locking overhead, and threading
performance. The benchmark generates .csv output appropriate for reading
into a spreadsheet to generate summary statistics and perform statistical
tests easily.
2005-12-28 12:42:12 +00:00
Scott Long
98f9589da1
Fix compiling on platforms with 64bit time_t.
2005-12-16 06:02:44 +00:00
Dag-Erling Smørgrav
fea562c089
Add a -c option to control caddr_t replacement (which was commented out in
...
the previous revision)
2005-12-13 22:21:46 +00:00
Sam Leffler
4ffa4230f0
fix include path
2005-12-13 22:15:09 +00:00
Sam Leffler
7613cbabe4
update
2005-12-13 22:13:41 +00:00
Sam Leffler
44301bc9d5
fix include pathnames
2005-12-13 22:12:16 +00:00
Dag-Erling Smørgrav
d44231a0ce
Add a script that converts K&R-style function definitions to ANSI style.
2005-12-13 22:09:50 +00:00
Dag-Erling Smørgrav
1cd4b9861a
Print user, system and real time upon exit.
2005-12-13 17:51:56 +00:00
Sam Leffler
f6a064998f
this didn't make it in the last commit
2005-12-11 23:15:24 +00:00
Sam Leffler
12f961f487
o move programs to separate directories and use stock Makefiles;
...
this simplifies including them in crunchgen images
o rename 80211* programs to wlan* as was originally intended
2005-12-11 23:13:54 +00:00
Sam Leffler
bbcd5573da
remove cts burst extension stats
2005-12-11 22:46:41 +00:00
Robert Watson
bade32af70
After printing per-cpu cache contents, summarize total cached items and
...
entries across the caches.
Fix an off-by-one error in counting caches.
2005-12-08 13:33:12 +00:00
Robert Watson
eefe20fef7
Teach umastat about the variable-length array of per-CPU caches at the end
...
of struct uma_zone. It is declared as an array of size [1], but then
sized at run-time by UMA to include room for mp_maxid+1 CPUs. We have to
copy the uma_zone first at the declared structure size, then check to make
sure it's not an internal zone before copying the larger size (UMA
internal zones don't use per-CPU caches). This fixes umastat for SMP.
2005-12-08 13:16:22 +00:00
Pawel Jakub Dawidek
5612eab744
Convert gstripe(8) regression tests to the new framework.
2005-12-07 01:30:44 +00:00
Pawel Jakub Dawidek
54cd653136
Convert gshsec(8) regression tests to the new framework.
2005-12-07 01:29:50 +00:00
Pawel Jakub Dawidek
3c6d62f3c4
Convert graid3(8) regression tests to the new framework.
2005-12-07 01:28:59 +00:00
Pawel Jakub Dawidek
b0f4c56e21
- Make use of geom_subr.sh to improve regression tests.
...
- Keep class-specific data in conf.sh file.
2005-12-07 01:27:23 +00:00
Pawel Jakub Dawidek
db5f9b8b22
Finish conversion of gconcat(8) regression tests to the new framework.
2005-12-07 01:24:25 +00:00
Pawel Jakub Dawidek
6d3e81df97
Add file with helper functions for geom tools regression tests.
2005-12-07 01:20:18 +00:00
Pawel Jakub Dawidek
028f760b81
Convert gnop(8) regression tests to the new framework.
2005-12-07 00:37:14 +00:00
Pawel Jakub Dawidek
7d4ec059d3
Convert gmirror(8) regression tests to the new framework.
2005-12-07 00:34:27 +00:00
Robert Watson
1c36ac6bc6
Add a simple KVM tool to dump the kernel state of UMA, including walking
...
the keg/zone lists, summarizing cache state, and walking bucket lists in
each zone. I seem to get inconsistent results on SMP, possibly due to
local header problems, but it seems to work quite well on UP. This tool
requires sufficient privilege to read /dev/mem (or a core dump), and is
for debugging purposes rather than administrative monitoring purposes
(use vmstat instead).
2005-12-05 13:04:00 +00:00
Ruslan Ermilov
a845c77d2e
Move the 2->3 upgrade kit on the attic.
2005-12-03 20:30:29 +00:00
David Xu
98fd65daa5
Add code to test POSIX message queue.
2005-11-26 13:19:09 +00:00
Scott Long
01e7fb47d5
Teach schedgraph how to parse KTR_CRITICAL records. critical_enter/exit
...
events are now plotted as a counting graph, similar to CPU load, so that
their duration and critnest values can be visualized.
2005-11-21 21:27:40 +00:00
Poul-Henning Kamp
a70cac1259
Add geometry of SiliconSystems 4GB CF card
2005-11-15 18:48:52 +00:00
Dag-Erling Smørgrav
8cc56e0ecb
Use the new syntax for GENERIC.
2005-11-14 13:34:15 +00:00
Dag-Erling Smørgrav
29777b413b
Build a PAE kernel if a PAE config exists.
2005-11-14 13:33:17 +00:00
Dag-Erling Smørgrav
9f88b80ace
Add support for the += operator, which appends to a multiple-value variable.
2005-11-14 13:32:30 +00:00
Dag-Erling Smørgrav
c9b130583b
Add support for building other kernels than LINT and GENERIC.
2005-11-14 12:59:10 +00:00
Marcel Moolenaar
735592906b
Update to match geom_gpt:1.35
...
o Change the result of gctl(001) now that a bogus verb still requires
a valid geom,
o Insert gctl(024) to test for an appropriate error when a bogus verb
is given that does have a proper geom parameter.
2005-11-13 22:02:04 +00:00
Marcel Moolenaar
d453d31b41
Instead of saving the unit number of the md(4) device name, save the
...
whole name. This does not unnecessarily close the door that in some
future we want to test on something other than md(4) devices.
Also add a "conf" action so that we can check whether a gctl actually
did the right thing or not. It's one thing to check that the result
strings are as expected, but it doesn't tell us if the end result is
correct. This needs a bit more fleshing out, but for now a visual
(i.e. manual) check suffices.
2005-11-12 20:17:08 +00:00
Robert Watson
794bf8edc7
Add unix_passfd, a simple set of regression tests for UNIX domain socket
...
file descriptor passing. These tests are not all currently passed.
2005-11-09 21:41:20 +00:00
David Xu
14b7815fcb
Add code to test queued SIGCHLD.
2005-11-08 09:19:44 +00:00
Pawel Jakub Dawidek
d56da50ae8
Add tests for -t option with short tty name - pkill(1) should accept both
...
(eg. "ttyv0" and "v0").
2005-11-07 16:56:16 +00:00
David Xu
60d3d21057
Add sigqueue test code.
2005-11-07 14:10:33 +00:00