summaryrefslogtreecommitdiff
path: root/test/eventfd-disable.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-20 11:13:25 -0600
committerJens Axboe <axboe@kernel.dk>2020-05-20 11:13:25 -0600
commit4339af0bad63a05115876945fe08e3c2bf8837e3 (patch)
tree491531e76cbf2220a2d9cf6453a22543f7f543aa /test/eventfd-disable.c
parent2262c68f98d9c9af562d2d075b933eaa550664fa (diff)
downloadliburing-4339af0bad63a05115876945fe08e3c2bf8837e3.tar.gz
liburing-4339af0bad63a05115876945fe08e3c2bf8837e3.tar.bz2
test/eventfd-disable: ignore test when an argument is given
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/eventfd-disable.c')
-rw-r--r--test/eventfd-disable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/eventfd-disable.c b/test/eventfd-disable.c
index ad086d4..f172fd7 100644
--- a/test/eventfd-disable.c
+++ b/test/eventfd-disable.c
@@ -27,6 +27,9 @@ int main(int argc, char *argv[])
};
int ret, evfd, i;
+ if (argc > 1)
+ return 0;
+
ret = io_uring_queue_init_params(64, &ring, &p);
if (ret) {
fprintf(stderr, "ring setup failed: %d\n", ret);