summaryrefslogtreecommitdiff
path: root/test/madvise.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/madvise.c')
-rw-r--r--test/madvise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/madvise.c b/test/madvise.c
index 1b11092..e9101c0 100644
--- a/test/madvise.c
+++ b/test/madvise.c
@@ -92,6 +92,7 @@ static int do_madvise(struct io_uring *ring, void *addr, off_t len, int advice)
ret = cqe->res;
if (ret == -EINVAL || ret == -EBADF) {
fprintf(stdout, "Madvise not supported, skipping\n");
+ unlink(".madvise.tmp");
exit(0);
} else if (ret) {
fprintf(stderr, "cqe->res=%d\n", cqe->res);