Add test/close-opath.c

This tests whether we can close an O_PATH opened fd. Test program
is an edited version of one from Clay Harris <bugs@claycon.org>, found
here:

https://claycon.org/software/io_uring/tests/close_opath.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2 files changed