summaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 03:22:43 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 03:22:43 +0000
commit6df121eaa3396b50dae79db3c1f1dd4d94956100 (patch)
tree4d20f13d436f2e28c6399366a395fcfb9834ed69 /nptl
parent45cd1d64a49e3ecd792f1701eced9da0c766c43d (diff)
2005-04-27 Ulrich Drepper <drepper@redhat.com>
* tst-cancel17.c (do_test): Add arbitrary factor to make sure aio_write blocks.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-cancel17.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-cancel17.c b/nptl/tst-cancel17.c
index 9fb089ac83..269d141e4c 100644
--- a/nptl/tst-cancel17.c
+++ b/nptl/tst-cancel17.c
@@ -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)
{