| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
probably a bug in the parser.
|
|
|
|
| |
should fail because of a bug in the parser (test 2).
|
| |
|
| |
|
|
|
|
|
| |
in-memory changes only and as such are only useful for prototyping
and regression testing purposes.
|
| |
|
| |
|
|
|
|
| |
of the sendfile() system call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
measure the rate of TCP connection round trips supported by a host at
the socket layer.
|
| |
|
| |
|
|
|
|
| |
Fix NANO_TOOLS usage in FlashDevice()
|
| |
|
|
|
|
| |
based is far better and the only one supported from now on.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Spotted by: Andrea Campi <andrea+freebsd_cvs_all -at- webcom.it>
Pointy hat to: philip
|
| |
|
|
|
|
|
|
|
|
| |
for commonly used flash devices by
FlashDevice Sandisk 256MB
in the config file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add a function to add customization commands.
|
|
|
|
|
| |
system: out of blocks, and out of inodes. Useful for exercising the
uprintf(9) calls in UFS/ext2fs in order to detect races.
|
| |
|
| |
|
|
|
|
|
|
| |
mdconfig(8), because we need a disk to work on.
o Extend the number of tests now that we have a disk.
o Simplify the driver. All parameters are ASCII strings now.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The testsuite is based on a simple driver program that builds a
request from the arguments passed to it and issues the request to
Geom. The driver emits FAIL with the error string or PASS depending
on whether the request completed with an error or not. A -v option
has been added to the driver and causes the request to be dumped.
The -v option to prove(1) controls the -v option to the driver.
The testsuite itself contains a hash of which the key constitutes
the arguments and the value is the expected result.
|
|
|
|
|
|
|
|
| |
creation and at time of update using an additional call to listen().
This test also exercises SO_LISTENQLIMIT, a forthcoming socket option
that allows the retrieval (but not setting) of the queue limit.
Discussed with: andre
|
| |
|
| |
|
|
|
|
| |
a fifo: FIONBIO, FIOASYNC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
relating to O_RDWR file descriptors, which while not defined in POSIX,
are in fact used:
(1) Revise assumption that we have two file descriptors when testing I/O
operations on a fifo. Provide cleanup routines that handle either
two or three file descriptors (including a kqueue descriptor).
(2) Add an openfifo_rw() routine to supplement openfifo().
(3) kqueue_setup() now configures an existing kqueue to monitor a new
file descriptor, rather than allocating a new kqueue to monitor two
existing file descriptors.
(4) Wrap all direct poll/select/kqueue/FIONREAD interactions in a single
function, assert_status(), which takes a file descriptor, kqueue
descriptor, assertion of read/writable/exception states, and
test description, then tests the assertion. This reduces the bulk
of calls in many of the tests, making them shorter, more readable,
and easier to determine correct.
(5) Add a new test_events_rdwr() function, which performs a basic create/
write/read event test on a O_RDWR fifo file descriptor. This is
currently failed by our fifo code in HEAD due to a bug in FIONREAD
handling. Fix to be merged shortly.
|
|
|
|
| |
Requested by: rwatson
|
|
|
|
|
| |
readable, and use that in addition to poll+select+kqueue to verify
appropriate readability.
|
| |
|
|
|
|
|
|
|
|
| |
Add test_kqueue(), which registers and unregisters various kqueue filter
types on a fifo in order to make sure that EVFILT_READ, EVFILT_WRITE can
be registered, and that EVFILT_NETDEV can't be registered. For now, we
don't test that EVFILT_VNODE can be registered on fifos, as that has been
broken at some point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Teach fifo_io about kqueue monitoring of fifo file descriptor status,
and add test cases for kqueue to match existing case for poll and
select. Add a new cleanup routine, cleanfifokq(), for use in tests that
use kqueues. kqueue_setup() sets up kqueue sessions, and kqueue_status()
returns file descriptor status.
- Correct a bug in select handling relating to the nfds argument, which
was incorrect so resulted in select occuring on the wrong file descriptor,
and possible false positive/negative results.
- Clarify error reporting in one byte write+read tests to distinguish
errors in the after case from the before case.
|
|
|
|
| |
shutdown-on-non connected socket test, kern/84761.
|
|
|
|
|
|
| |
that don't obviously fit into create, open, and io. For now, add only a
regression test to make sure that lseek() fails with ESPIPE (which it
doesn't).
|
|
|
|
| |
that if the tests fail to GC their working spaces, it's clear which it is.
|
|
|
|
|
| |
currently can't pass this regression test due to broken poll() and
select() support for fifos, but past the basic I/O operation tests.
|
|
|
|
| |
fifo tests, chdir to it.
|
|
|
|
|
| |
the blocking and non-blocking forms of open based on the POSIX spec for
now O_NONBLOCK should be handled.
|
| |
|
|
|
|
|
| |
when given a PID consults the kern.proc.pid sysctl variable to pull out the
pcomm data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multicast group using a raw socket, then removing the interface on which
the group is found, and joining a multicast group using a udp socket,
then removing the interface on which the group is found. An if_disc
interface is used as the interface on which to attach.
NB: A panic currently results from running this regression test, so do
so with caution.
PR: 77665
Reported by: Gavin Atkinson <gavin dot atkinson at ury dot york dot ac dot uk>
Reported by: Brooks Davis <brooks at FreeBSD dot org>
|
|
|
|
| |
- Simplify regress.sh, sort tests.
|
| |
|
| |
|
| |
|