From 6ccb6fd429716a48911c23fa97a70fb6e2c1710a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 26 Jul 2009 15:43:39 +0000 Subject: [PATCH] Remove the temporary file created during the test before exiting. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10614 --- memcheck/tests/darwin/aio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/memcheck/tests/darwin/aio.c b/memcheck/tests/darwin/aio.c index e0dceef8f7..87e72143a9 100644 --- a/memcheck/tests/darwin/aio.c +++ b/memcheck/tests/darwin/aio.c @@ -3,7 +3,7 @@ #include #include #include - +#include int x; int main(void) @@ -82,6 +82,8 @@ int main(void) assert( aio_return(&a) < 0 ); // (repeated aio_return(); fails because // Valgrind can't find &a in the table) + unlink("mytmpfile"); + return x; }; -- 2.47.3