tests: Enhance captive test
commit38165d0f8f5a4eb898d756a561811c2fe042fe4d
authorEric Blake <eblake@redhat.com>
Mon, 30 Sep 2019 15:46:41 +0000 (30 10:46 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 2 Oct 2019 16:06:26 +0000 (2 11:06 -0500)
treec189b7bf0cf10b575da6072f7655b437a97ce05e
parenta69f10845cdc655372223cfe11bf31c5f4f3721b
tests: Enhance captive test

Test the just-fixed bug in --run failing to detect an nbdkit assertion
failure.

While at it, sleep less when we don't actually need to wait for the
socket to be opened.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/test-captive.sh