aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/051
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-03-03 15:59:26 +0100
committerKevin Wolf <kwolf@redhat.com>2015-03-10 14:02:24 +0100
commit354483e50726140d9c6cb5ff0e1698bd5f17a2d5 (patch)
tree35cf99fe444747833136420420e437d5009c00cc /tests/qemu-iotests/051
parentdf1d4c341a735334de23513f17bf110c8c49b3e7 (diff)
Add testcase for scsi-hd devices without drive property
Lets add a test for scsi devices without a drive. This was broken by a recent block patch, thus indicating that we need a testcase. Suggested-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/051')
-rwxr-xr-xtests/qemu-iotests/0516
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
index 2274d187a0..0360f37e5a 100755
--- a/tests/qemu-iotests/051
+++ b/tests/qemu-iotests/051
@@ -99,6 +99,12 @@ run_qemu -drive file="$TEST_IMG",driver=raw,format=qcow2
run_qemu -drive file="$TEST_IMG",driver=qcow2,format=qcow2
echo
+echo === Device without drive ===
+echo
+
+run_qemu -device virtio-scsi-pci -device scsi-hd
+
+echo
echo === Overriding backing file ===
echo