Commit Graph

1025 Commits

Author SHA1 Message Date
dfr
d9cbcb50b5 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
rwatson
9109f4fe31 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
scottl
614b41dc53 Fix compiling on platforms with 64bit time_t. 2005-12-16 06:02:44 +00:00
des
bf3fd57aac 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
785a4a0c55 fix include path 2005-12-13 22:15:09 +00:00
sam
3ed8b07f30 update 2005-12-13 22:13:41 +00:00
sam
13765a0cc1 fix include pathnames 2005-12-13 22:12:16 +00:00
des
7f2789bdd6 Add a script that converts K&R-style function definitions to ANSI style. 2005-12-13 22:09:50 +00:00
des
b09cdadf21 Print user, system and real time upon exit. 2005-12-13 17:51:56 +00:00
sam
11460b5b71 this didn't make it in the last commit 2005-12-11 23:15:24 +00:00
sam
310b3b7c69 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
97e6ad836b remove cts burst extension stats 2005-12-11 22:46:41 +00:00
rwatson
cb090e1386 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
rwatson
f2a96cd9c9 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
pjd
4ed0dcf09f Convert gstripe(8) regression tests to the new framework. 2005-12-07 01:30:44 +00:00
pjd
5250c7022c Convert gshsec(8) regression tests to the new framework. 2005-12-07 01:29:50 +00:00
pjd
ef0831aea7 Convert graid3(8) regression tests to the new framework. 2005-12-07 01:28:59 +00:00
pjd
970cb6f33a - 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
pjd
65dce3ed0a Finish conversion of gconcat(8) regression tests to the new framework. 2005-12-07 01:24:25 +00:00
pjd
49984acede Add file with helper functions for geom tools regression tests. 2005-12-07 01:20:18 +00:00
pjd
878b30658c Convert gnop(8) regression tests to the new framework. 2005-12-07 00:37:14 +00:00
pjd
9795800eb3 Convert gmirror(8) regression tests to the new framework. 2005-12-07 00:34:27 +00:00
rwatson
92cbca9c0a 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
ru
abad3468e5 Move the 2->3 upgrade kit on the attic. 2005-12-03 20:30:29 +00:00
davidxu
b2bbf4f8ad Add code to test POSIX message queue. 2005-11-26 13:19:09 +00:00
scottl
01fb37711b 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
phk
644983853b Add geometry of SiliconSystems 4GB CF card 2005-11-15 18:48:52 +00:00
des
cfa8912c5b Use the new syntax for GENERIC. 2005-11-14 13:34:15 +00:00
des
13b6012c65 Build a PAE kernel if a PAE config exists. 2005-11-14 13:33:17 +00:00
des
837b394189 Add support for the += operator, which appends to a multiple-value variable. 2005-11-14 13:32:30 +00:00
des
8ec73786a5 Add support for building other kernels than LINT and GENERIC. 2005-11-14 12:59:10 +00:00
marcel
7e399ad83e 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
9ea593a1fb 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
rwatson
c87b604005 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
davidxu
622bb31c9a Add code to test queued SIGCHLD. 2005-11-08 09:19:44 +00:00
pjd
2d70eabb28 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
davidxu
18fc4b11b9 Add sigqueue test code. 2005-11-07 14:10:33 +00:00
rwatson
192c946ba5 Fix two minor typos that caused schedgraph to exit with an exception
when running on traces referencing >2 CPUs.
2005-11-06 17:43:25 +00:00
maxim
825ca06c57 Fix the path to aac_ioctl.h in the comment and style includes.
MFC after:	1 week
2005-11-06 15:47:06 +00:00
maxim
bf0e2510aa Fix include: aac_ioctl.h was moved from sys/dev/aac/ to sys/sys.
PR:		misc/88549
Submitted by:	Sokolov Alexey
MFC after:	1 week
2005-11-06 15:40:59 +00:00
stefanf
8723c51d6b Add test cases for the command built-in, including its -v and -V options which
I'll commit real soon.

Count the number of found test cases instead of hard-coding them.  Allow an
arbitrary exit status.
2005-10-28 14:02:42 +00:00
pjd
b4784d4ebf Change u_int64_t to uintmax_t and use %ju, so it compiles on 64bit archs.
I changed every u_int64_t to uintmax_t, as we should use eventually
uint64_t anyway those days.
2005-10-26 19:44:17 +00:00
rwatson
639ffa42d9 Updates and enhancements to the multi-threaded httpd performance test
tool:

- Use uname(3) to query the OS name to report in the HTTP headers.
  This is probably more useful than hard-coding FreeBSD.

- If no path is specified, create a 1k temporary file and send that
  instead.  Pass a file descriptor into http_serve() rather than using
  a global fd.

- Add more carriage returns to the HTTP headers to be a bit more
  correct.  (Suggested by: andre)

- Read to a buffer rather than a single character to reduce the number
  of recv() system calls pulling in the HTTP request.

- Properly wait for two, not one, \n's on input.
2005-10-25 18:47:12 +00:00
harti
d0b8720651 Add first tests for semicolon handling. The first test fails. This is
probably a bug in the parser.
2005-10-18 07:28:09 +00:00
harti
2733c20457 Add more tests for escaped newline handling and fix a test that currently
should fail because of a bug in the parser (test 2).
2005-10-18 07:20:14 +00:00
ambrisko
a7fa49849e This test can run now. 2005-10-12 18:04:18 +00:00
des
bebf0068f7 Add RELENG_6_0. 2005-10-09 18:01:55 +00:00
marcel
6c3e0035da Rough implementation of the create and add verbs. The verbs cause
in-memory changes only and as such are only useful for prototyping
and regression testing purposes.
2005-10-09 17:10:35 +00:00
damien
83f4245cc4 Import iwi-specific tools. Can help debug firmware or connection issues. 2005-10-07 18:27:21 +00:00
rwatson
5770eb4200 Don't hard-code port numbers, let the user specify them. 2005-10-06 12:20:33 +00:00