: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 
                                        <[EMAIL PROTECTED]>

Reply via email to