This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Typo in testsuite/27_io/filebuf_members.cc
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Typo in testsuite/27_io/filebuf_members.cc
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Mon, 26 Jun 2000 19:14:22 +0200
- Organization: HERMES SoftLab
This test fails because the name_0{1,2} variables are mistyped
in the test procedure.
2000-06-26 Branko Cibej <branko.cibej@hermes.si>
* testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70
Index: testsuite/27_io/filebuf_members.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/27_io/filebuf_members.cc,v
retrieving revision 1.1
diff -c -p -r1.1 filebuf_members.cc
*** filebuf_members.cc 2000/06/24 00:53:06 1.1
--- filebuf_members.cc 2000/06/26 17:12:28
*************** test_01()
*** 47,53 ****
int close_num;
// read (ext)
! int fd = open(name01, O_RDONLY);
test &= fd >= 0;
{
--- 47,53 ----
int close_num;
// read (ext)
! int fd = open(name_01, O_RDONLY);
test &= fd >= 0;
{
*************** test_01()
*** 59,69 ****
// read (standard)
! FILE* f = fopen(name01, "r");
test &= !f;
{
! std::ifstream ifstream1(name02);
test &= ifstream1.is_open();
std::ios_base::iostate st01 = ifstream1.rdstate();
test &= st01 == std::ios_base::goodbit;
--- 59,69 ----
// read (standard)
! FILE* f = fopen(name_01, "r");
test &= !f;
{
! std::ifstream ifstream1(name_02);
test &= ifstream1.is_open();
std::ios_base::iostate st01 = ifstream1.rdstate();
test &= st01 == std::ios_base::goodbit;