Bug #3

freebsds pipe-reverse test fails on dfly

Added by skrueger almost 9 years ago. Updated almost 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

hi folks,

I tried some regression tests from freebsd and
src/tools/regression/pipe/pipe-reverse.c[1] failed

% ./pipe-reverse
Wrote 32768 bytes, sleeping
Wrote another 8192 bytes, 40960 total, done
Read 16384 bytes, going back to sleep
Read 8192 bytes, done
FAILURE

maybe you want to take a look at it

1
http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/pipe/pipe-reverse.c

History

#1 Updated by dillon almost 9 years ago

:hi folks,
:
:I tried some regression tests from freebsd and
:src/tools/regression/pipe/pipe-reverse.c[1] failed
:
:% ./pipe-reverse
:Wrote 32768 bytes, sleeping
:Wrote another 8192 bytes, 40960 total, done
:Read 16384 bytes, going back to sleep
:Read 8192 bytes, done
:FAILURE
:
:maybe you want to take a look at it
:
:1
:http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/regression/pipe/pipe-reverse.c

The test program is broken. read() calls to a pipe are not guarenteed
to return the number of bytes requested in the read() system call. They
can return fewer, and they do in this case.

-Matt
Matthew Dillon
<>

#2 Updated by corecode almost 9 years ago

not a bug

Also available in: Atom PDF