From: Ulrich Drepper Date: Mon, 27 Mar 2000 08:42:51 +0000 (+0000) Subject: (main): Make a bit more exciting. X-Git-Tag: cvs/glibc_2-1-91~784 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=45f52bde66d7a6038ea7bc0226bb3257f5e17dcc;p=glibc.git (main): Make a bit more exciting. --- diff --git a/stdio-common/tst-obprintf.c b/stdio-common/tst-obprintf.c index e94d7520c2..5d7089b268 100644 --- a/stdio-common/tst-obprintf.c +++ b/stdio-common/tst-obprintf.c @@ -17,10 +17,12 @@ main (void) obstack_init (&ob); - for (n = 0; n < 10000; ++n) + for (n = 0; n < 40000; ++n) { mcheck_check_all (); obstack_printf (&ob, "%.*s%05d", 1 + n % 7, "foobarbaz", n); + if (n % 777 == 0) + obstack_finish (&ob); } /* And a final check. */