aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Expand)AuthorFilesLines
31 hourstest/accept-non-empty: add accept IORING_CQE_F_SOCK_NONEMPTY testHEADmasterJens Axboe2-0/+257
10 daystest: Remove the coredump if coredump.t managed to generate oneGuillem Jover1-0/+1
14 daystest/buf-ring: skip on older kernels that don't support mmap'ed ringsJens Axboe1-15/+19
14 daystest: skip test case if underlying filesystem doesn't support O_DIRECTJens Axboe2-0/+9
2024-04-20test/msg-ring: synchronize remote test case with a pthread barrierJens Axboe1-3/+16
2024-04-19t/socket-io-cmd: do single retry for SIOCINQJens Axboe1-8/+17
2024-04-19test/socket-io-cmd: don't use CQE after io_uring_cqe_seen()Jens Axboe1-1/+2
2024-04-19test/sqpoll-cancel-hang: remove testJens Axboe2-169/+0
2024-04-08io_uring/sendzc: add DEFER_TASKRUN testingPavel Begunkov1-60/+107
2024-04-08test/sendzc: improve zc support probingPavel Begunkov1-24/+40
2024-04-08test: handle test_send_faults()'s cases one by onePavel Begunkov1-34/+71
2024-04-02test/msg-ring-fd: fix bugs in test caseJens Axboe1-1/+25
2024-04-02test: update for older kernelsJens Axboe5-5/+36
2024-04-02Add test case for creation/teardown of memory mapped provided buffersJens Axboe2-0/+84
2024-03-29test/msg-ring-fd: add test case for FD passing with MSG_RINGJens Axboe2-0/+284
2024-03-28test/msg-ring: test DEFER_TASKRUN as wellJens Axboe2-13/+52
2024-03-28test/send_recv: set IORING_SETUP_SUBMIT_ALLJens Axboe1-1/+1
2024-03-28test/connect: add SQPOLL as wellJens Axboe1-5/+32
2024-03-26Merge branch 'memory-ordering-and-atomicity' of https://github.com/shachaf/li...Jens Axboe1-12/+8
2024-03-26test/file-register: ensure the fail case allocates enoughJens Axboe1-2/+6
2024-03-18test/connect: add IOSQE_ASYNC testJens Axboe1-6/+14
2024-03-15test/buf-ring: test mmap'ed rings tooJens Axboe1-7/+42
2024-03-15test/read-mshot: fix overflow checkingJens Axboe1-1/+1
2024-03-11test/a4c0b3decb33: reduce number of iterationsJens Axboe1-1/+1
2024-03-11test/ringbuf-status: add basic "ring buffer fully full" test caseJens Axboe1-0/+60
2024-03-11Change buffer ring head return value to uint16_tJens Axboe1-1/+1
2024-03-08Introduce make uninstall in MakefileXinghui Li1-0/+3
2024-03-02Fix memory ordering/atomic accessShachaf Ben-Kiki1-12/+8
2024-02-27test/version: fix broken testJens Axboe1-2/+2
2024-02-27test: add some missing checks for lack of supportJens Axboe2-1/+3
2024-02-17test/truncate: don't leave test files around when exitingJens Axboe1-1/+3
2024-02-14test/accept: check for bad result on multishot accept overflowJens Axboe1-0/+3
2024-02-13test/truncate: use correct size cast for printing file sizesJens Axboe1-2/+3
2024-02-13test/truncate: cleanup and fix spurious failuresJens Axboe1-15/+23
2024-02-12test/openat2.c: fix tiny typo in description.Jack Kelly1-1/+1
2024-02-09test/truncate: fix 'size' being used uninitialized in error pathJens Axboe1-3/+1
2024-02-09Merge branch 'truncate' of https://github.com/tontinton/liburingJens Axboe2-0/+178
2024-02-06test/recv-multishot: wait for the right amount of CQEsJens Axboe1-2/+6
2024-01-31test/truncate: Add test for failure on truncate pathTony Solomonik1-0/+42
2024-01-31test/truncate: Add test for ftruncateTony Solomonik2-0/+136
2024-01-28test/read-mshot-empty: skip if argument is givenJens Axboe1-0/+3
2024-01-27test/read-mshot-empty: add test case for fully emptying all dataJens Axboe2-0/+151
2024-01-23test/fd-install: test linked operation as wellJens Axboe1-2/+64
2024-01-23test/fd-install: test valid case with IOSQE_ASYNC as wellJens Axboe1-3/+12
2024-01-23test/fd-install: test IOSQE_ASYNC as well with credsJens Axboe1-3/+12
2024-01-23test/fd-install: check that passing in any creds will failJens Axboe1-0/+59
2024-01-22test/read-mshot: check that IORING_CQE_F_MORE isn't set on errorJens Axboe1-0/+4
2024-01-11Merge branch 'pbuf-status'Jens Axboe2-0/+183
2024-01-06test/defer-tw-timeout: remember to set the passed in filenameJens Axboe1-2/+4
2024-01-06test/defer-tw-timeout: support testing in passed in fileJens Axboe1-12/+22
2024-01-04test/defer-tw-timeout: test irq completions as wellJens Axboe1-13/+80
2024-01-04Add test case for missing local task_work runJens Axboe2-0/+90
2024-01-02Merge branch 'fix1' of https://github.com/DylanZA/liburingJens Axboe1-10/+14
2023-12-21Add support for IORING_REGISTER_PBUF_STATUSpbuf-statusJens Axboe2-0/+183
2023-12-19t/no-mmap-inval: Replace `valloc()` with `t_posix_memalign()`Ammar Faizi1-1/+3
2023-12-11test/fixed-buf-merge: add missing unistd.h includeJens Axboe1-0/+1
2023-12-09test: update socket opt / socket io cmd for old kernelsJens Axboe2-6/+22
2023-12-08Update IORING_OP_FIXED_FD_INSTALL APIJens Axboe1-7/+7
2023-12-08test: ensure to check write(2) return valueJens Axboe2-5/+40
2023-12-08Add support for IORING_OP_FIXED_FD_INSTALLJens Axboe2-0/+334
2023-12-08test/ring-leak: skip test if passing io_uring fd failsJens Axboe1-5/+19
2023-12-05tests: comment on io_uring zc and SO_ZEROCOPYPavel Begunkov1-0/+4
2023-11-30Add test case for mmap'ed provided ring buffers and no mmap'ed ringJens Axboe2-0/+113
2023-11-28test/read-mshot: test clamped read sizeJens Axboe1-0/+115
2023-11-24test/reg-fd-only: test with huge pages as wellJens Axboe1-6/+82
2023-11-24test/fixed-buf-merge: remember to unlink file on successJens Axboe1-0/+1
2023-11-22test/pollfree: remove test caseJens Axboe2-427/+0
2023-11-20test/fixed-buf-merge: add test case for off-by-one in fixed buffer importsJens Axboe2-0/+96
2023-11-20Merge branch 'pu/typos' of https://github.com/guillemj/liburingJens Axboe4-4/+4
2023-11-20test/hardlink: Add test for `AT_EMPTY_PATH` flagCharles Mirabile1-0/+21
2023-11-20test/hardlink: introduce `fd` variable to hold the file open file descriptorCharles Mirabile1-5/+5
2023-11-20test/hardlink: add parameter for old's dirfd to `do_linkat`Charles Mirabile1-6/+6
2023-11-20test/hardlink: Cleanup error handlingCharles Mirabile1-30/+17
2023-11-10Fix typosGuillem Jover4-4/+4
2023-11-07test/no-mmap-inval: 0 return is fine tooJens Axboe1-1/+1
2023-11-07test/futex: don't error on missing futex supportJens Axboe1-1/+1
2023-11-05read-mshot.t: test with differing buffer sizeDylan Yudaken1-10/+14
2023-11-04Merge branch 'next'Jens Axboe8-3/+1573
2023-10-20test/socket-getsetsock-cmd: return T_EXIT_SKIP if argument passednextJens Axboe1-1/+1
2023-10-20test/socket-getsetsock-cmd: make send_data() staticJens Axboe1-1/+1
2023-10-20tests/socket-getsetsock-cmd: New test for {g,s}etsockoptBreno Leitao2-0/+329
2023-10-18test/no-mmap-inval: use io_uring_queue_init_params()Jens Axboe1-1/+2
2023-10-18Add setup.h includeJens Axboe1-4/+1
2023-10-18setup: default to IORING_SETUP_NO_SQARRAYPavel Begunkov3-3/+19
2023-10-18Merge branch 'futex' into nextJens Axboe2-0/+572
2023-10-18Merge branch 'waitid' into nextJens Axboe2-0/+374
2023-10-18Merge branch 'read-mshot' into nextJens Axboe2-0/+282
2023-10-18test/no-mmap-inval: skip on older kernelsJens Axboe1-1/+4
2023-10-18Update sqe layout and prep helpersJens Axboe1-12/+24
2023-10-18test/futex: test additions and flag changesJens Axboe1-3/+175
2023-10-18Update for new prep_futex_waitv() prototypeJens Axboe1-5/+5
2023-10-18Add 'flags' to futex prep helpersJens Axboe1-13/+13
2023-10-18test/futex: break early if there's no futex supportJens Axboe1-0/+2
2023-10-18test/futex: test ordering and wakeupsJens Axboe1-8/+211
2023-10-18test/futex: exercise io-wq driven cancel and wait as wellJens Axboe1-3/+9
2023-10-18test/futex: skip if argument is givenJens Axboe1-0/+3
2023-10-18Add basic futex test caseJens Axboe2-0/+174
2023-10-18waitid: add io_uring flags parameterwaitidJens Axboe1-6/+6
2023-10-18test/waitid: add test case for racy wakeup and cancelationsJens Axboe1-1/+67
2023-10-18test/waitid: change the sleep helper to take usecsJens Axboe1-6/+7
2023-10-18test/waitid: skip if argument is givenJens Axboe1-0/+3
2023-10-18liburing.h: add `io_uring_prep_waitid`李通洲1-12/+0
2023-10-18test/waitid: shorten wait timesJens Axboe1-9/+9
2023-10-18test/waitid: drop rusageJens Axboe1-8/+6
2023-10-18test/waitid: add explicit cancel testJens Axboe1-0/+54
2023-10-18Add waitid test caseJens Axboe2-0/+264
2023-10-18test/read-mshot: add test cases for overflow handlingread-mshotJens Axboe1-11/+48
2023-10-18test/read-mshot: add test case for an invalid file typeJens Axboe1-0/+78
2023-10-18test/read-mshot: return T_EXIT_SKIPPED if read mshot isn't supportedJens Axboe1-2/+6
2023-10-18Add io_uring_prep_read_multishot() helperJens Axboe1-4/+2
2023-10-18test/read-mshot: add multishot read test caseJens Axboe2-0/+165
2023-10-18test/no-mmap-inval: fix warning on 32-bit buildsJens Axboe1-1/+1
2023-10-18test/no-mmap-inval: add test case for invalid SQ ring addressJens Axboe2-0/+37
2023-10-02test/wq-aff: ensure T_EXIT_SKIP is propagated correctlyJens Axboe1-1/+3
2023-09-29test/hardlink: code cleanup and fail on -EINVAL for flagsJens Axboe1-13/+7
2023-09-29Add test for passing flags to linkatThomas Leonard1-10/+38
2023-09-11Remove old sendmsg lookup test caseJens Axboe2-201/+0
2023-08-23Add nolibc riscv64 supportMichal Biesek1-3/+5
2023-08-14test/wq-aff: add test case for SQPOLL io-wq affinityJens Axboe2-0/+145
2023-08-11tests: don't expect multishot recv overflow backloggingPavel Begunkov1-1/+1
2023-07-28test: socket io cmd operationsBreno Leitao2-0/+216
2023-07-05build: Fixed make -nKartik Mahajan1-2/+4
2023-07-02test/socket-rw: fix bad assertion checkJens Axboe1-1/+1
2023-07-02test/xattr: don't hide test checks under assertJens Axboe1-25/+38
2023-07-02test: don't hide code with side effects under assert()Jens Axboe7-9/+16
2023-06-30test/io_uring_setup: Fix include path to syscall.hDavid Wei1-1/+1
2023-06-28test/io_uring_register: fix errno confusion and new errorJens Axboe1-27/+24
2023-06-22test/poll-cancel-all: add fixed file testJens Axboe1-5/+29
2023-06-15test/coredump: make it explicit that the child is not returningJens Axboe1-2/+2
2023-06-15test/coredump: add test case generating a core dumpJens Axboe2-0/+60
2023-06-13test/reg-fd-only: skip on older kernelsDavid Wei1-1/+3
2023-06-09Add test for IORING_SETUP_REGISTERED_FD_ONLYJosh Triplett2-0/+54
2023-05-10recv-msgall: Fix invalid mutex usageAmmar Faizi1-11/+7
2023-05-10recv-msgall: Fix undefined behavior in `recv_prep()`Ammar Faizi1-13/+15
2023-04-25liburing: Fix multishot timeout test failuresDavid Wei1-4/+17
2023-04-20test/file-verify.t: Don't run over mlock limit when run as non-rootGabriel Krisman Bertazi1-2/+6
2023-04-20test/fallocate: catch SIGXFSZ if issued inlineJens Axboe1-0/+9
2023-04-18liburing: add multishot timeout supportDavid Wei1-0/+263
2023-04-01test/read-write: add test for CQE res when removing buffersWojciech Lukowicz1-0/+53
2023-03-22test/reg-hint: fix argument skip and check error resultJens Axboe1-1/+14
2023-03-22test/reg-hint: add test case for sanity of alloc hintsJens Axboe2-0/+44
2023-03-20Add test case for repeated connects to socket without listenerJens Axboe2-0/+205
2023-03-17test/buf-ring: skip test_full_page_reg() on HPPAJens Axboe1-3/+7
2023-03-17test: remove timeout-overflow.cJens Axboe2-205/+0
2023-03-17test/io_uring_register: be less picky on the POLL testJens Axboe1-1/+1
2023-03-16test: convert tests to use the provided ring buffer init/free helpersJens Axboe4-120/+41
2023-03-16test/regbuf-merge: make local variable staticJens Axboe1-1/+1
2023-03-16test: test fd msg-ring allocating indexesPavel Begunkov1-3/+34
2023-03-16Add test case for page merging when registering buffersJens Axboe2-0/+92
2023-03-15test/file-verify: fix error in address invalidationJens Axboe1-0/+2
2023-03-15test/file-verify: use 32-bytes as the invalidation strideJens Axboe1-1/+1
2023-03-15test/file-verify: add dcache sync for pariscJens Axboe1-4/+19
2023-03-05tests/fd-pass: close ringsPavel Begunkov1-0/+2
2023-02-21tests/send: sends with offsetsPavel Begunkov1-0/+9
2023-02-21tests/send: improve error reportingPavel Begunkov1-1/+2
2023-02-21test/send: don't use SO_ZEROCOPY if not availablePavel Begunkov1-6/+13
2023-02-21send: test send with hugetlbPavel Begunkov1-6/+25
2023-02-21send: improve buffer iterationPavel Begunkov1-18/+24
2023-02-21tests/send: don't use a constant for page sizePavel Begunkov1-9/+20
2023-02-21Merge branch 'registered-ring-close' of https://github.com/joshtriplett/liburingJens Axboe2-0/+91
2023-02-21test/buf-ring: add test for buf ring occupying exactly one pageWojciech Lukowicz1-0/+54
2023-02-19test: Add test for io_uring_register with a registered ringJosh Triplett2-0/+91
2023-02-18examples,test: Remove unused linux/errqueue.hKhem Raj1-1/+0
2023-02-16test/file-verify: remove duplicate include fileJens Axboe1-1/+0
2023-02-16test/buf-ring: use proper sizing when allocating rings for buffersJens Axboe1-4/+4
2023-02-16test/ringbuf-read: initialize ring bufferJens Axboe1-1/+2
2023-02-16test/poll-race-mshot: fix missing init of buffer ringJens Axboe1-6/+15
2023-02-16test/connect: skip if tcp_syncookies isn't enableJens Axboe1-0/+8
2023-02-16test/sqpoll-cancel-hang: disable on unknown archsJens Axboe1-3/+14
2023-02-15Fix some copy-paste errors in test descriptionsJosh Triplett4-4/+4
2023-02-15test/lfs-openat*: use O_LARGEFILE to open the fileJens Axboe2-2/+2
2023-02-15test/xattr.c: remember to return cqe->res as the valueJens Axboe1-17/+10
2023-02-15test: handle lack of O_DIRECT supportJens Axboe12-28/+81
2023-02-15test/xattr.c: don't fail if the file system doesn't support xattrJens Axboe1-10/+21
2023-02-15test/accept.c: use SOCK_NONBLOCK for socket(2)Jens Axboe1-2/+2
2023-02-15test: use symbolic mmap flag namesJens Axboe9-14/+14
2023-02-15test/917257daa0fe.c: use symbolic mmap namesJens Axboe1-1/+1
2023-02-14test/fsnotify: Skip fsnotify test if sys/fanotify.h not availableAlviro Iskandar Setiawan1-1/+12
2023-02-13test: Use t_error instead of glibc's error.Steffen4-12/+8
2023-02-13Add custom error function for tests.Steffen2-0/+20
2023-02-02test/fd-pass: use SQE prep helper rather than opencodingJens Axboe1-9/+6
2023-02-02test/fd-pass: add tests with different target/source fd valuesJens Axboe1-11/+29
2023-02-02test/fd-pass: add comments and use proper flag nameJens Axboe1-1/+3
2023-02-02tests: Wrap the `CHECK()` macro with a do-whileAlviro Iskandar Setiawan2-6/+15
2023-02-02tests: Remove unnecessary semicolonAlviro Iskandar Setiawan7-13/+15
2023-01-30multicqes_drain: make trigger event wait before readingDylan Yudaken1-9/+7
2023-01-27run link_drain test with defer_taskrun tooDylan Yudaken1-4/+30
2023-01-27add a test using drain with IORING_SETUP_DEFER_TASKRUNDylan Yudaken1-0/+45
2023-01-26test/poll: add test case with a ton of poll requests for the ring itselfJens Axboe1-0/+43
2023-01-26test: fix parallel send-zerocopyPavel Begunkov1-8/+11
2023-01-23tests/msg_ring: remote submit to a deferred tw ringPavel Begunkov1-1/+79
2023-01-23tests/msg_ring: refactor test_remotePavel Begunkov1-7/+8
2023-01-23test/msg_ring: test msg_ring to a disabled ringPavel Begunkov1-0/+55
2023-01-23tests/msg_ring: test msg_ring with deferred twPavel Begunkov1-0/+28
2023-01-23tests/msg_ring: use correct exit codesPavel Begunkov1-5/+5
2023-01-21test/accept: remove leftover debug codeJens Axboe1-2/+1
2023-01-21test/read-before-exit: handle IOPOLL failure on older kernelsJens Axboe1-2/+19
2023-01-21test/accept: gracefully accept test skipsJens Axboe1-28/+32
2023-01-21test/helpers: don't warn for -EINVAL on ring createJens Axboe1-1/+2
2023-01-20test/poll-race-mshot: skip test if no provided buffer ring is availableJens Axboe1-0/+11