summaryrefslogtreecommitdiffstats
path: root/tools/regression
Commit message (Collapse)AuthorAgeFilesLines
* Adding another multi-byte characters related regression test for recentavatar2006-01-011-0/+22
| | | | nmount(2) adoption.
* Convert gstripe(8) regression tests to the new framework.pjd2005-12-075-24/+22
|
* Convert gshsec(8) regression tests to the new framework.pjd2005-12-075-36/+31
|
* Convert graid3(8) regression tests to the new framework.pjd2005-12-0715-69/+95
|
* - Make use of geom_subr.sh to improve regression tests.pjd2005-12-0711-54/+55
| | | | - Keep class-specific data in conf.sh file.
* Finish conversion of gconcat(8) regression tests to the new framework.pjd2005-12-077-82/+17
|
* Add file with helper functions for geom tools regression tests.pjd2005-12-071-0/+14
|
* Convert gnop(8) regression tests to the new framework.pjd2005-12-074-20/+8
|
* Convert gmirror(8) regression tests to the new framework.pjd2005-12-079-72/+82
|
* Add code to test POSIX message queue.davidxu2005-11-2611-0/+512
|
* Update to match geom_gpt:1.35marcel2005-11-131-3/+5
| | | | | | | 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.
* Instead of saving the unit number of the md(4) device name, save themarcel2005-11-121-23/+26
| | | | | | | | | | | 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.
* Add unix_passfd, a simple set of regression tests for UNIX domain socketrwatson2005-11-092-0/+314
| | | | file descriptor passing. These tests are not all currently passed.
* Add code to test queued SIGCHLD.davidxu2005-11-083-1/+100
|
* Add tests for -t option with short tty name - pkill(1) should accept bothpjd2005-11-072-6/+30
| | | | (eg. "ttyv0" and "v0").
* Add sigqueue test code.davidxu2005-11-073-0/+62
|
* Add test cases for the command built-in, including its -v and -V options whichstefanf2005-10-2810-3/+58
| | | | | | | I'll commit real soon. Count the number of found test cases instead of hard-coding them. Allow an arbitrary exit status.
* Add first tests for semicolon handling. The first test fails. This isharti2005-10-188-0/+47
| | | | probably a bug in the parser.
* Add more tests for escaped newline handling and fix a test that currentlyharti2005-10-1814-8/+48
| | | | should fail because of a bug in the parser (test 2).
* This test can run now.ambrisko2005-10-121-4/+0
|
* Rough implementation of the create and add verbs. The verbs causemarcel2005-10-091-42/+65
| | | | | in-memory changes only and as such are only useful for prototyping and regression testing purposes.
* Add regression tests for trimdomain(3).brooks2005-10-055-0/+212
|
* Use mkuzip(8) instead of create_compressed_fs.fjoe2005-09-295-79/+119
|
* Small regression test tool to generate two forms of ENOSPC on a filerwatson2005-09-192-0/+195
| | | | | system: out of blocks, and out of inodes. Useful for exercising the uprintf(9) calls in UFS/ext2fs in order to detect races.
* o Extend the suite to run more than just the driver. We need to runmarcel2005-09-192-72/+75
| | | | | | 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.
* Add the beginnings of a testsuite for testing GPT control requests.marcel2005-09-192-0/+223
| | | | | | | | | | | | 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.
* Add a regression test for listen()'s backlog argument, both at time ofrwatson2005-09-182-0/+389
| | | | | | | | 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
* Remove checks for shutdown(2) on non-connected socket.maxim2005-09-151-7/+0
|
* Add two small tests to set and clear two file I/O flags using ioctl onrwatson2005-09-131-0/+77
| | | | a fifo: FIONBIO, FIOASYNC.
* Restructure fifo_io event-related tests in order to support test casesrwatson2005-09-131-480/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Teach fifo_io how to use ioctl(FIONREAD) to determine if a fifo isrwatson2005-09-131-6/+95
| | | | | readable, and use that in addition to poll+select+kqueue to verify appropriate readability.
* Remove a debugging printf.rwatson2005-09-131-1/+0
|
* Comment test_lseek().rwatson2005-09-121-0/+117
| | | | | | | | 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.
* Further updates to fifo_io regression test:rwatson2005-09-121-61/+287
| | | | | | | | | | | | | | | - 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.
* o Add shutdown(2) regression tests. At the moment we cannot passmaxim2005-09-122-0/+124
| | | | shutdown-on-non connected socket test, kern/84761.
* Add fifo_misc, a regression test to hold misc. functional tests for fifosrwatson2005-09-122-0/+147
| | | | | | 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).
* Use different temporary directory templates for fifo_io and fifo_open sorwatson2005-09-122-2/+2
| | | | that if the tests fail to GC their working spaces, it's clear which it is.
* Add fifo_io, a regression test for I/O operations on POSIX fifos. Werwatson2005-09-122-0/+1259
| | | | | currently can't pass this regression test due to broken poll() and select() support for fifos, but past the basic I/O operation tests.
* After going to some trouble to create a temporary directory in which to runrwatson2005-09-111-0/+2
| | | | fifo tests, chdir to it.
* Add fifo_open, a basic regression test for opening fifos, which testsrwatson2005-09-112-0/+481
| | | | | the blocking and non-blocking forms of open based on the POSIX spec for now O_NONBLOCK should be handled.
* Add fifo_create, a simple regression test for mkfifo(2).rwatson2005-09-102-0/+244
|
* Add a regression test to test two variations on the same bug: joining arwatson2005-09-052-0/+251
| | | | | | | | | | | | | | 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>
* - Add tests for hash and return and more tests for set -e.stefanf2005-09-0515-9/+78
| | | | - Simplify regress.sh, sort tests.
* Simplify and add PR 77067 which addresses the same bug.stefanf2005-09-041-3/+3
|
* Fix syntax error that crept in somehow.stefanf2005-09-041-1/+1
|
* Add a couple of regression tests for /bin/sh.stefanf2005-09-0436-0/+202
|
* Add regression tests for '-L' option.pjd2005-08-252-0/+84
|
* '-F' option behaviour was reverted, so revert previous commit.pjd2005-08-252-3/+5
|
* '-F' option now needs locked pidfile. Modify regression tests respectively.pjd2005-08-242-6/+4
|
* Add regression tests (121 in total) for GEOM_ELI class.pjd2005-07-278-0/+607
| | | | | | | | | | To use them, run: # prove /usr/src/tools/regression/geom_eli Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl MFC after: 1 week
OpenPOWER on IntegriCloud