This series allows tests to be run in parallel, which speeds up iterating. Rather than build this functionality into the shell scripts, it seemed much easier to use make's parallel execution to do this. My bash/make skills are not top notch, so I might have missed something obvious, however it does seem to work locally very nicely. Patch #1 is a bug that seems to trigger quite often when running in parallel Patch #2-5 fix bugs that prevent tests running in parallel Patch #6 adds a make target that depends on running each test Patch #7 Is not related to parallel tests. It is a prep for a later series to use nop to test IOPOLL. v2: - fix runtests-quiet.sh to return the correct error code - add runtests-parallel to the main target Dylan Yudaken (7): test: handle mmap return failures in pollfree test test: use unique path for socket test: use unique ports test: use unique filenames test: mkdir -p output folder test: add make targets for each test test: use remove_buffers instead of nop to generate error codes Makefile | 2 ++ test/232c93d07b74.c | 2 +- test/Makefile | 10 +++++++++- test/accept-test.c | 2 +- test/defer.c | 28 ++++++++++++++++++++-------- test/link.c | 6 +++--- test/openat2.c | 6 +++--- test/pollfree.c | 4 ++-- test/recv-msgall.c | 2 +- test/runtests-quiet.sh | 11 +++++++++++ test/runtests.sh | 2 +- test/send_recv.c | 2 +- test/send_recvmsg.c | 2 +- test/sq-poll-dup.c | 2 +- test/sq-poll-share.c | 2 +- 15 files changed, 58 insertions(+), 25 deletions(-) create mode 100755 test/runtests-quiet.sh base-commit: b7d8dd8bbf5b8550c8a0c1ed70431cd8050709f0 -- 2.30.2