This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] RE: Testsuite problem


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.


Attachment: 9964.cc.diff
Description: 9964.cc.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]