diff options
author | kib <kib@FreeBSD.org> | 2009-07-12 12:50:43 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2009-07-12 12:50:43 +0000 |
commit | d144bd09876b8dea20687370a97bed68d1e1dd5e (patch) | |
tree | 1ee90370bde6284d60e817d235e4060d2ce313dd /tools/regression/poll/7 | |
parent | 871f788d7999e4e656af64c93e1382a8945f4399 (diff) | |
download | FreeBSD-src-d144bd09876b8dea20687370a97bed68d1e1dd5e.zip FreeBSD-src-d144bd09876b8dea20687370a97bed68d1e1dd5e.tar.gz |
Test suite for the poll(2)/select(2) on fifos, pipes and sockets,
and recorded results for several operating systems.
Submitted by: bde
Approved by: re (kensmith)
Diffstat (limited to 'tools/regression/poll/7')
-rw-r--r-- | tools/regression/poll/7/pipepoll.out | 21 | ||||
-rw-r--r-- | tools/regression/poll/7/pipeselect.out | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/tools/regression/poll/7/pipepoll.out b/tools/regression/poll/7/pipepoll.out new file mode 100644 index 0000000..3794735 --- /dev/null +++ b/tools/regression/poll/7/pipepoll.out @@ -0,0 +1,21 @@ +1..20 +ok 1 Pipe state 4: expected 0; got 0 +ok 2 Pipe state 5: expected POLLIN; got POLLIN +ok 3 Pipe state 6: expected POLLIN | POLLHUP; got POLLIN | POLLHUP +not ok 4 Pipe state 6a: expected POLLHUP; got POLLIN | POLLHUP +ok 5 Sock state 4: expected 0; got 0 +ok 6 Sock state 5: expected POLLIN; got POLLIN +not ok 7 Sock state 6: expected POLLIN | POLLHUP; got POLLIN +not ok 8 Sock state 6a: expected POLLHUP; got POLLIN +ok 9 FIFO state 0: expected 0; got 0 +ok 10 FIFO state 1: expected 0; got 0 +ok 11 FIFO state 2: expected POLLIN; got POLLIN +ok 12 FIFO state 2a: expected 0; got 0 +not ok 13 FIFO state 3: expected POLLHUP; got 0 +ok 14 FIFO state 4: expected 0; got 0 +ok 15 FIFO state 5: expected POLLIN; got POLLIN +not ok 16 FIFO state 6: expected POLLIN | POLLHUP; got POLLIN +not ok 17 FIFO state 6a: expected POLLHUP; got 0 +ok 18 FIFO state 6b: expected 0; got 0 +not ok 19 FIFO state 6c: expected POLLHUP; got 0 +not ok 20 FIFO state 6d: expected POLLHUP; got 0 diff --git a/tools/regression/poll/7/pipeselect.out b/tools/regression/poll/7/pipeselect.out new file mode 100644 index 0000000..5e64a27 --- /dev/null +++ b/tools/regression/poll/7/pipeselect.out @@ -0,0 +1,21 @@ +1..20 +ok 1 Pipe state 4: expected clear; got clear +ok 2 Pipe state 5: expected set; got set +ok 3 Pipe state 6: expected set; got set +ok 4 Pipe state 6a: expected set; got set +ok 5 Sock state 4: expected clear; got clear +ok 6 Sock state 5: expected set; got set +ok 7 Sock state 6: expected set; got set +ok 8 Sock state 6a: expected set; got set +ok 9 FIFO state 0: expected clear; got clear +ok 10 FIFO state 1: expected clear; got clear +ok 11 FIFO state 2: expected set; got set +ok 12 FIFO state 2a: expected clear; got clear +not ok 13 FIFO state 3: expected set; got clear +ok 14 FIFO state 4: expected clear; got clear +ok 15 FIFO state 5: expected set; got set +ok 16 FIFO state 6: expected set; got set +not ok 17 FIFO state 6a: expected set; got clear +ok 18 FIFO state 6b: expected clear; got clear +not ok 19 FIFO state 6c: expected set; got clear +not ok 20 FIFO state 6d: expected set; got clear |