On 08/24/2017 10:33 AM, Stefan Hajnoczi wrote: > 083 only tests TCP. Some failures might be specific to UNIX domain > sockets. > > A few adjustments are necessary: > > 1. Generating a port number and waiting for server startup is > TCP-specific. Use the new nbd-fault-injector.py startup protocol to > fetch the address. This is a little more elegant because we don't > need netstat anymore. > > 2. The NBD filter does not work for the UNIX domain sockets URIs we > generate and must be extended. > > 3. Run all tests twice: once for TCP and once for UNIX domain sockets. > > Signed-off-by: Stefan Hajnoczi > --- > tests/qemu-iotests/083 | 138 +++++++++++++++++++++++-------------- > tests/qemu-iotests/083.out | 145 ++++++++++++++++++++++++++++++++++----- > tests/qemu-iotests/common.filter | 4 +- > 3 files changed, 215 insertions(+), 72 deletions(-) Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org