From: Bart Van Assche Date: Sun, 26 Jul 2009 15:43:39 +0000 (+0000) Subject: Remove the temporary file created during the test before exiting. X-Git-Tag: svn/VALGRIND_3_5_0~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ccb6fd429716a48911c23fa97a70fb6e2c1710a;p=thirdparty%2Fvalgrind.git Remove the temporary file created during the test before exiting. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10614 --- 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; };