286612 |
11-Aug-2015 |
rodrigc |
Merge r285891:
Pass unsigned long argument to ioctl().
Eliminates "ioctl sign-extension" warnings.
PR: 200896 |
282842 |
13-May-2015 |
ngie |
MFC r282067:
Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo and tools/regression/file into the FreeBSD test suite as tests/sys/file |
282067 |
27-Apr-2015 |
ngie |
Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo and tools/regression/file into the FreeBSD test suite as tests/sys/file
MFC after: 1 week
|
281450 |
12-Apr-2015 |
ngie |
Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo
|
281414 |
11-Apr-2015 |
ngie |
Integrate more tests into the FreeBSD test suite from tools/regression, etc
|
264400 |
13-Apr-2014 |
imp |
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
|
232184 |
26-Feb-2012 |
jilles |
Check fchmod()/fchown() in fifo_misc test.
|
228975 |
30-Dec-2011 |
uqs |
Spelling fixes for tools/
Add some $FreeBSD$ tags so svn will allow the commit.
|
227124 |
05-Nov-2011 |
jilles |
fifo_misc test: Fix swapped lseek arguments.
It worked regardless because SEEK_CUR happens to be 1.
|
201350 |
31-Dec-2009 |
brooks |
The devices that supported EVFILT_NETDEV kqueue filters were removed in r195175. Remove all definitions, documentation, and usage.
fifo_misc.c: Remove all kqueue tests as fifo_io.c performs all those that would have remained.
Reviewed by: rwatson MFC after: 3 weeks X-MFC note: don't change vlan_link_state() function signature
|
179934 |
22-Jun-2008 |
rwatson |
Teach fifo_create regression test to also try to use mknod(2) to create fifos, as this is required by the Single UNIX Specification, although not currently implemented on FreeBSD.
While here, fix a bug in the directory timestamp checking test by sleeping after querying the starting timestamp, rather than before.
|
164083 |
07-Nov-2006 |
jkim |
Use z modifier for size_t and ssize_t.
|
160202 |
09-Jul-2006 |
maxim |
o style.Makefile(5): WARNS= -> WARNS?=.
|
159032 |
29-May-2006 |
maxim |
o Test truncate(2) on fifo: it should ignore the request and return success.
PR: kern/98064 Submitted by: Kirk Russell
|
150094 |
13-Sep-2005 |
rwatson |
Add two small tests to set and clear two file I/O flags using ioctl on a fifo: FIONBIO, FIOASYNC.
|
150093 |
13-Sep-2005 |
rwatson |
Restructure fifo_io event-related tests in order to support test cases 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.
|
150091 |
13-Sep-2005 |
rwatson |
Teach fifo_io how to use ioctl(FIONREAD) to determine if a fifo is readable, and use that in addition to poll+select+kqueue to verify appropriate readability.
|
150076 |
13-Sep-2005 |
rwatson |
Remove a debugging printf.
|
150064 |
12-Sep-2005 |
rwatson |
Comment test_lseek().
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.
|
150059 |
12-Sep-2005 |
rwatson |
Further updates to fifo_io regression test:
- 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.
|
150032 |
12-Sep-2005 |
rwatson |
Add fifo_misc, a regression test to hold misc. functional tests for fifos 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).
|
150031 |
12-Sep-2005 |
rwatson |
Use different temporary directory templates for fifo_io and fifo_open so that if the tests fail to GC their working spaces, it's clear which it is.
|
150022 |
12-Sep-2005 |
rwatson |
Add fifo_io, a regression test for I/O operations on POSIX fifos. We currently can't pass this regression test due to broken poll() and select() support for fifos, but past the basic I/O operation tests.
|
149998 |
11-Sep-2005 |
rwatson |
After going to some trouble to create a temporary directory in which to run fifo tests, chdir to it.
|
149985 |
11-Sep-2005 |
rwatson |
Add fifo_open, a basic regression test for opening fifos, which tests the blocking and non-blocking forms of open based on the POSIX spec for now O_NONBLOCK should be handled.
|
149959 |
10-Sep-2005 |
rwatson |
Add fifo_create, a simple regression test for mkfifo(2).
|