qemu-iotests: Test streaming with missing job ID
commit0bb0aea4bac2332389a9b481f650a2a9df80ea0c
authorKevin Wolf <kwolf@redhat.com>
Mon, 15 May 2017 12:36:23 +0000 (15 14:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 May 2017 14:48:21 +0000 (26 16:48 +0200)
treeb4054f5e41cd590673c72f1fc1156d9f80d2c536
parent525989a50a70ea0ffa2b1cdf56279765bb2b7de0
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>
tests/qemu-iotests/030
tests/qemu-iotests/030.out