iotests: ensure we print nbd server log on error
commit84f8b840a2d9ed248c80b3601d2d212cdf60cecf
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 20 Feb 2019 14:58:18 +0000 (20 14:58 +0000)
committerEric Blake <eblake@redhat.com>
Tue, 26 Feb 2019 16:45:37 +0000 (26 10:45 -0600)
treeb2fb79c9957678bd843d01d30f2213f71f2643c4
parent42eb4591febefad29fc995785ce11a475fb47d90
iotests: ensure we print nbd server log on error

If we abort the iotest early the server.log file might contain useful
information for diagnosing the problem. Ensure its contents are
displayed in this case.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190220145819.30969-2-berrange@redhat.com>
[eblake: fix shell quoting]
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/233