diff options
Diffstat (limited to 'stdio-common/tst-obprintf.c')
-rw-r--r-- | stdio-common/tst-obprintf.c | 4 |
1 files changed, 3 insertions, 1 deletions
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. */ |