|
From: <sv...@va...> - 2009-07-26 15:43:52
|
Author: bart
Date: 2009-07-26 16:43:39 +0100 (Sun, 26 Jul 2009)
New Revision: 10614
Log:
Remove the temporary file created during the test before exiting.
Modified:
trunk/memcheck/tests/darwin/aio.c
Modified: trunk/memcheck/tests/darwin/aio.c
===================================================================
--- trunk/memcheck/tests/darwin/aio.c 2009-07-26 15:39:57 UTC (rev 10613)
+++ trunk/memcheck/tests/darwin/aio.c 2009-07-26 15:43:39 UTC (rev 10614)
@@ -3,7 +3,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
-
+#include <unistd.h>
int x;
int main(void)
@@ -82,6 +82,8 @@
assert( aio_return(&a) < 0 ); // (repeated aio_return(); fails because
// Valgrind can't find &a in the table)
+ unlink("mytmpfile");
+
return x;
};
|