Jens Axboe
4916320ec3
Separate test cases from examples
...
Also adds a runtests makefile target.
2019-04-17 11:39:39 -06:00
Jens Axboe
26993e9872
Add SQ/CQ overflow tests
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-04-17 08:57:25 -06:00
Jens Axboe
8115820eb9
test/nop: add NOP test case
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-04-11 09:01:16 -06:00
Jeff Moyer
765ba233c8
add syscall unit tests
...
Add tests for io_uring_setup, io_uring_register and io_uring_enter.
The test coverage is nowhere near complete and the reporting is not
uniform. But, it's a start.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-03-04 15:37:40 -07:00
Jens Axboe
6726376f32
test/fsync: add simple fsync tester
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-02-08 21:02:00 -07:00
Jens Axboe
5e6a93cf0b
test/ring-leak: add test app demonstrating leak of io_uring instance
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-02-07 12:27:23 -07:00
Jens Axboe
b7e86eb7db
32-bit fixes
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-01-17 18:14:21 -07:00
Jens Axboe
79a7d3a3f6
Add IORING_OP_POLL_CANCEL test
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-01-17 13:05:52 -07:00
Jens Axboe
ce899b79f9
Add test case for IORING_OP_POLL
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-01-17 11:40:24 -07:00
Jens Axboe
baa8d243cc
Add simple test/ Makefile
...
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2019-01-08 15:49:32 -07:00