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