diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-02-28 14:10:10 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-28 14:10:10 -0700 |
commit | 74a8d1ec92bceeca3617f680def997e706f25d00 (patch) | |
tree | ed914c8b5844114c092d7a67c3d912d46dd7cb06 /test | |
parent | 566180209fc4d9e3ee8852315a4411ee0c3d5510 (diff) | |
download | liburing-74a8d1ec92bceeca3617f680def997e706f25d00.tar.gz liburing-74a8d1ec92bceeca3617f680def997e706f25d00.tar.bz2 |
test/read-write: ensure SQPOLL for non-root just warns
Don't fail the test.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
-rw-r--r-- | test/read-write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/read-write.c b/test/read-write.c index dfc541a..b62a68e 100644 --- a/test/read-write.c +++ b/test/read-write.c @@ -249,6 +249,7 @@ static int test_io(const char *file, int write, int buffered, int sqthread, fprintf(stderr, "SQPOLL requires root, skipping\n"); warned = 1; } + return 0; } ring_flags = IORING_SETUP_SQPOLL; } else { |