9964.cc (test_07): Adjust timing.
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 22 Apr 2003 21:06:56 +0000 (21:06 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 22 Apr 2003 21:06:56 +0000 (21:06 +0000)
* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
Adjust timing.

From-SVN: r65957

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/9964.cc

index c5441ba491b4de483a4b93a3fc27f9f000d655ae..b47af2849be00563ad9e784b721eeafd08813faa 100644 (file)
@@ -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,
index 32c388dceb87f1cf3ddf4f2ce92893c7f18b7f3c..a397b26ec1b3588da85a29f7c74097884306ea08 100644 (file)
@@ -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();