Commit Graph

1007 Commits

Author SHA1 Message Date
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
rwatson
b443e80b51 Improve realism of benchmark httpd: return some HTTP headers as part
of the sendfile() system call.
2005-10-06 10:28:31 +00:00
rwatson
15415175d5 Add basic simplified HTTP benchmark tools to the netrate suite:
- http is a lightweight, multithreaded HTTP query tool, which performs
  a timed measurement of the rate at which it can download files using
  single-fetch HTTP/1.0.  Other than specifying the IP and a URL path,
  it requires zero configuration.

- httpd is a lightweight, multithreaded HTTP server tool, which exports
  a single file of choice to the HTTP client, and responds with it no
  matter what the request.  Other than specifying the file to export,
  it requires zero configuration.

The goal of these tools is to measure the network costs associated with
HTTP serving, rather than file system, HTTP protocol parsing, error
handling, etc, and as such, parts relating to less interesting components
of HTTP testing are intentionally omitted.  Both are linked against
libpthread by default.
2005-10-06 08:41:08 +00:00
rwatson
2c41d20bdd Add simple TCP connect and TCP receive benchmark components, intended to
measure the rate of TCP connection round trips supported by a host at
the socket layer.
2005-10-05 12:10:35 +00:00
brooks
0f2fe8b63d Add regression tests for trimdomain(3). 2005-10-05 04:46:10 +00:00
fjoe
5c713a5737 Use mkuzip(8) instead of create_compressed_fs. 2005-09-29 22:41:20 +00:00
phk
dc422f3b70 Fix a bug in disk geometry calculation.
Fix NANO_TOOLS usage in FlashDevice()
2005-09-29 16:06:59 +00:00
phk
7557f61ce6 This one goes as well. 2005-09-26 14:58:58 +00:00
phk
9ced30d43d Remove the old Makefile based nanobsd build method, the new shell script
based is far better and the only one supported from now on.
2005-09-26 14:57:27 +00:00
phk
58b495a6f0 Correct filesystem mountpoint 2005-09-25 21:23:19 +00:00
simon
b4151b2250 Make it possible to set the NANO_TOOLS variable to a directory outside
of $NANO_SRC, which can e.g. be used if the nanobsd scripts are not in
the source tree being built.

Improved by:	phk
Approved by:	phk
2005-09-24 12:26:59 +00:00
philip
1519e686de Fix typo. MAILWRAPER -> MAILWRAPPER.
Spotted by:	Andrea Campi <andrea+freebsd_cvs_all -at- webcom.it>
Pointy hat to:	philip
2005-09-21 12:32:06 +00:00
phk
936ef077e7 Update these scripts to be more userfriendly and usage safe. 2005-09-21 09:40:45 +00:00
phk
ed5e4faa71 Add a convenience function to set NANO_MEDIASIZE, NANO_HEADS and NANO_SECTS
for commonly used flash devices by

	FlashDevice Sandisk 256MB

in the config file.
2005-09-20 09:07:18 +00:00
phk
6b94e48157 Create an /etc/nanobsd.conf in the built image and put the disk drive name
there for scripts to use.

Create a noauto fstab entry for the configuration partition (/cfg).

Add NANO_TOOLS env-var to point to the nanobsd sources relative to
NANO_SRC.

Add -h argument which prints a usage.

Add -b argument which skips build steps and goes directly to install steps.

Complain about extraneous arguments, it's usually a forgotten '-c'

Add convenience function to register customization function.

Add some sample customization functions:
	cust_comconsole
	cust_allow_ssh_root

Rename setup_diskless() to setup_nanobsd(), it makes more sense.

Add various comments etc.
2005-09-20 08:38:59 +00:00
phk
e825dac28c Dump the environment for reference.
Add a function to add customization commands.
2005-09-19 20:55:44 +00:00
rwatson
aaf789e510 Small regression test tool to generate two forms of ENOSPC on a file
system: out of blocks, and out of inodes.  Useful for exercising the
uprintf(9) calls in UFS/ext2fs in order to detect races.
2005-09-19 16:29:36 +00:00
phk
9b9ea0137d Create fstab before linking stuff into /conf 2005-09-19 15:41:08 +00:00
phk
c235110658 Missing ')' 2005-09-19 12:12:07 +00:00