summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-07 15:13:36 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-07 15:13:36 -0600
commitdd899de5643a54ba5570ea06d1898551e926ad79 (patch)
tree8adf15808c6b34e8e00c4aaf1f691eabdd0b5f4a
parent5db5a2c041e145d334b1c8a357d457690d57a674 (diff)
downloadliburing-dd899de5643a54ba5570ea06d1898551e926ad79.tar.gz
liburing-dd899de5643a54ba5570ea06d1898551e926ad79.tar.bz2
test/file-register: close/unlink test_shrink() files
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/file-register.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/file-register.c b/test/file-register.c
index 91cb3cc..458ca89 100644
--- a/test/file-register.c
+++ b/test/file-register.c
@@ -95,8 +95,10 @@ static int test_shrink(struct io_uring *ring)
goto err;
}
+ close_files(files, 50, 0);
return 0;
err:
+ close_files(files, 50, 0);
return 1;
}