qemu-iotests: Test streaming with missing job ID

This adds a small test for the image streaming error path for failing
block_job_create(), which would have found the null pointer dereference
in commit a170a91f.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kashyap Chamarthy <kchamart@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
This commit is contained in:
Kevin Wolf 2017-05-15 14:36:23 +02:00
parent 525989a50a
commit 0bb0aea4ba
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
......................
.......................
----------------------------------------------------------------------
Ran 22 tests
Ran 23 tests
OK