9964.cc (test_07): Adjust timing.
* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07): Adjust timing. From-SVN: r65957
This commit is contained in:
parent
befcd99bcb
commit
9734801a49
@ -1,3 +1,8 @@
|
||||
2003-04-22 Loren J. Rittle <ljrittle@acm.org>
|
||||
|
||||
* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
|
||||
Adjust timing.
|
||||
|
||||
2003-04-22 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/std/std_streambuf.h (_S_pback_size, _M_pback,
|
||||
|
@ -51,17 +51,18 @@ void test_07()
|
||||
{
|
||||
filebuf fbin;
|
||||
fbin.open(name, ios_base::in);
|
||||
sleep(1);
|
||||
sleep(2);
|
||||
fbin.close();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
filebuf fb;
|
||||
sleep(1);
|
||||
filebuf* ret = fb.open(name, ios_base::out | ios_base::trunc);
|
||||
VERIFY( ret != NULL );
|
||||
VERIFY( fb.is_open() );
|
||||
|
||||
sleep(2);
|
||||
sleep(3);
|
||||
fb.sputc('a');
|
||||
|
||||
ret = fb.close();
|
||||
|
Loading…
Reference in New Issue
Block a user