9507.cc: Allow lseek on fifo to succeed.

* testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
	lseek on fifo to succeed.  Thus, check for consistent report.

From-SVN: r94003
This commit is contained in:
Loren J. Rittle 2005-01-21 01:37:10 +00:00 committed by Loren J. Rittle
parent a7a4444157
commit 7e4d34fd7c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-21 Loren J. Rittle <ljrittle@acm.org>
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
lseek on fifo to succeed. Thus, check for consistent report.
2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR libstdc++/19510

View File

@ -54,8 +54,10 @@ void test_06()
std::ios_base::in
| std::ios_base::out
| std::ios_base::ate);
VERIFY( !fbuf.is_open() );
VERIFY( r == NULL );
if (r == NULL)
VERIFY( !fbuf.is_open() );
else
VERIFY( fbuf.is_open() );
}
int