coroutine: Remove on-stack buffers from testcases
authorDavid Gibson <david@gibson.dropbear.id.au>
Sat, 24 Dec 2016 10:40:00 +0000 (21:40 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 24 Jan 2017 10:22:27 +0000 (21:22 +1100)
commitf6557ca6537bc4d37fb4be215184a632533ba4e7
treee4131455097fcd90a59260cdec9fe09daeb4e11d
parentd24c5a0105b14dd20efd6c3c9f1ae0a35ca50c84
coroutine: Remove on-stack buffers from testcases

In preparation for enabling valgrind tests, remove instances where we
allocate a coroutine's stack from a buffer itself on the stack.  Not all
that surprisingly, valgrind gets very, very confused by having one
"thread"'s stack embedded within another's.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/coroutine/test/api-1.c
ccan/coroutine/test/api-3.c