]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-04-27 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:22:43 +0000 (03:22 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:22:43 +0000 (03:22 +0000)
* tst-cancel17.c (do_test): Add arbitrary factor to make sure
aio_write blocks.

nptl/tst-cancel17.c

index 9fb089ac839020530925d2fa1311d411f84c960a..269d141e4c3feb5d82681b458b7bfded79221d6f 100644 (file)
@@ -228,7 +228,7 @@ do_test (void)
 
   size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
   size_t page_size = sysconf (_SC_PAGESIZE);
-  len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
+  len2 = 20 * (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
   char *mem2 = malloc (len2);
   if (mem2 == NULL)
     {