[PATCH] RE: Testsuite problem
Pétur Runólfsson
peturr02@ru.is
Thu Apr 22 11:39:00 GMT 2004
Benjamin Kosnik wrote:
> >The solution is probably to just use ios_base::out, and XFAIL on those
> >targets where that doesn't work.
>
> Yep. If you prepare a patch, and post it, it'll be easier to track this
> issue. We can sort this out after the release.
OK, this might work. This uses alarm to kill the child process if the
parent fails to do it's thing. I have verified (by commenting out the
call to open in the parent) that this works. I'm not sure if the XFAIL
line is correct, or if XFAIL is needed for more platforms.
Tested on linux on x86.
Petur
2004-04-22 Petur Runolfsson <peturr02@ru.is>
* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
Open fifo with ios_base::out only, XFAIL on HPUX, make sure
close fails, add comments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9964.cc.diff
Type: application/octet-stream
Size: 3051 bytes
Desc: 9964.cc.diff
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040422/d5c688f7/attachment.obj>
More information about the Libstdc++
mailing list