qemu-io: Add failure regression tests
authorNir Soffer <nirsof@gmail.com>
Wed, 1 Feb 2017 00:31:20 +0000 (02:31 +0200)
committerMax Reitz <mreitz@redhat.com>
Sat, 11 Feb 2017 23:47:42 +0000 (00:47 +0100)
commitbf68bcb18e65e2fc6aaa55079740feee4c8b474c
treefb50f1199633d866a14ccbd44cb73e3e78e5a719
parentb4a2caa4bd5ad4e3cd6dd7eb1c0067d9205280cb
qemu-io: Add failure regression tests

Add regression tests checking that qemu-io fails with non-zero exit code
when reading non-existing file or using the wrong image format.

Signed-off-by: Nir Soffer <nirsof@gmail.com>
Message-id: 20170201003120.23378-4-nirsof@gmail.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/174 [new file with mode: 0755]
tests/qemu-iotests/174.out [new file with mode: 0644]
tests/qemu-iotests/group