qemu-iotests: Fail test if explicit test case number is unknown
authorFam Zheng <famz@redhat.com>
Wed, 24 Sep 2014 03:05:57 +0000 (11:05 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 25 Sep 2014 13:25:20 +0000 (15:25 +0200)
commitc9d17ad0dd3f04cdef44d58db97ea9864fbcdee7
treef6cc018f36023ca6613f9d516807cfcd7663811b
parent9aebf3b89281a173d2dfeee379b800be5e3f363e
qemu-iotests: Fail test if explicit test case number is unknown

When we expand a number range, we just print "$id - unknown test,
ignored", this is convenient if we want to run a range of tests.

When we designate a test case number explicitly, we shouldn't just
ignore it if the case script doesn't exist.

Print an error and fail the test.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common