iotests: test NBD+TLS+iothread
authorEric Blake <eblake@redhat.com>
Sat, 18 May 2024 02:50:15 +0000 (21:50 -0500)
committerEric Blake <eblake@redhat.com>
Mon, 3 Jun 2024 14:17:11 +0000 (09:17 -0500)
commita73c99378022ebb785481e84cfe1e81097546268
treeb2ab6f4b57d7a06137f3ab58b5067dc2be2315be
parent199e84de1c903ba5aa1f7256310bbc4a20dd930b
iotests: test NBD+TLS+iothread

Prevent regressions when using NBD with TLS in the presence of
iothreads, adding coverage the fix to qio channels made in the
previous patch.

The shell function pick_unused_port() was copied from
nbdkit.git/tests/functions.sh.in, where it had all authors from Red
Hat, agreeing to the resulting relicensing from 2-clause BSD to GPLv2.

CC: qemu-stable@nongnu.org
CC: "Richard W.M. Jones" <rjones@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240531180639.1392905-6-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tests/qemu-iotests/tests/nbd-tls-iothread [new file with mode: 0755]
tests/qemu-iotests/tests/nbd-tls-iothread.out [new file with mode: 0644]