Project

General

Profile

Actions

Bug #3

closed

freebsds pipe-reverse test fails on dfly

Added by skrueger almost 19 years ago. Updated about 18 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

hi folks,

I tried some regression tests from freebsd and
src/tools/regression/pipe/pipe-reverse.c1 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

Actions #1

Updated by dillon almost 19 years ago

:hi folks,
:
:I tried some regression tests from freebsd and
:src/tools/regression/pipe/pipe-reverse.c1 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
<>
Actions #2

Updated by corecode almost 19 years ago

not a bug

Actions

Also available in: Atom PDF