Browse Source

qemu-iotests: change _supported_proto to file for various tests

all these tests do anything of the following and thus fail with any
protocol other than file:
 - the tests use rm, cp or mv shell commands which only work on file
 - the tests use qcow2.py
 - the images construct new filenames (e.g. backing file names) and
   the logic is broken for anything else than file

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
pull/6/merge
Peter Lieven 12 years ago
committed by Kevin Wolf
parent
commit
1f7bf7d068
  1. 2
      tests/qemu-iotests/013
  2. 2
      tests/qemu-iotests/014
  3. 2
      tests/qemu-iotests/018
  4. 2
      tests/qemu-iotests/019
  5. 2
      tests/qemu-iotests/023
  6. 2
      tests/qemu-iotests/024
  7. 2
      tests/qemu-iotests/026
  8. 2
      tests/qemu-iotests/028
  9. 2
      tests/qemu-iotests/031
  10. 2
      tests/qemu-iotests/034
  11. 2
      tests/qemu-iotests/036
  12. 2
      tests/qemu-iotests/037
  13. 2
      tests/qemu-iotests/038
  14. 2
      tests/qemu-iotests/039
  15. 2
      tests/qemu-iotests/043
  16. 2
      tests/qemu-iotests/046
  17. 2
      tests/qemu-iotests/052
  18. 2
      tests/qemu-iotests/054
  19. 2
      tests/qemu-iotests/059
  20. 2
      tests/qemu-iotests/060
  21. 2
      tests/qemu-iotests/061
  22. 2
      tests/qemu-iotests/063
  23. 2
      tests/qemu-iotests/069
  24. 2
      tests/qemu-iotests/071
  25. 2
      tests/qemu-iotests/072

2
tests/qemu-iotests/013

@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# much of this could be generic for any format supporting compression.
_supported_fmt qcow qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
TEST_OFFSETS="0 4294967296"

2
tests/qemu-iotests/014

@ -43,7 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# much of this could be generic for any format supporting snapshots
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
TEST_OFFSETS="0 4294967296"

2
tests/qemu-iotests/018

@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files
_supported_fmt qcow qcow2 vmdk qed
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"

2
tests/qemu-iotests/019

@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files
_supported_fmt qcow qcow2 vmdk qed
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \

2
tests/qemu-iotests/023

@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# much of this could be generic for any format supporting compression.
_supported_fmt qcow qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
TEST_OFFSETS="0 4294967296"

2
tests/qemu-iotests/024

@ -43,7 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Currently only qcow2 and qed support rebasing
_supported_fmt qcow2 qed
_supported_proto generic
_supported_proto file
_supported_os Linux
CLUSTER_SIZE=65536

2
tests/qemu-iotests/026

@ -42,7 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Currently only qcow2 supports rebasing
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
_default_cache_mode "writethrough"
_supported_cache_modes "writethrough" "none"

2
tests/qemu-iotests/028

@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files except vmdk and qcow which do not support
# smaller backing files.
_supported_fmt qcow2 qed
_supported_proto generic
_supported_proto file
_supported_os Linux
# Choose a size that is not necessarily a cluster size multiple for image

2
tests/qemu-iotests/031

@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qcow2-specific low-level functionality
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
CLUSTER_SIZE=65536

2
tests/qemu-iotests/034

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow qcow2 vmdk qed
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \

2
tests/qemu-iotests/036

@ -44,7 +44,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qcow2-specific low-level functionality
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
# Only qcow2v3 and later supports feature bits

2
tests/qemu-iotests/037

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow qcow2 vmdk qed
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \

2
tests/qemu-iotests/038

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2 qed
_supported_proto generic
_supported_proto file
_supported_os Linux
CLUSTER_SIZE=2M

2
tests/qemu-iotests/039

@ -42,7 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
_default_cache_mode "writethrough"
_supported_cache_modes "writethrough"

2
tests/qemu-iotests/043

@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files
_supported_fmt qcow2 qed
_supported_proto generic
_supported_proto file
_supported_os Linux

2
tests/qemu-iotests/046

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
CLUSTER_SIZE=64k

2
tests/qemu-iotests/052

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt generic
_supported_proto generic
_supported_proto file
_supported_os Linux
_default_cache_mode "writethrough"
_supported_cache_modes "writethrough"

2
tests/qemu-iotests/054

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
echo

2
tests/qemu-iotests/059

@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests vmdk-specific low-level functionality
_supported_fmt vmdk
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \

2
tests/qemu-iotests/060

@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qocw2-specific low-level functionality
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
rt_offset=65536 # 0x10000 (XXX: just an assumption)

2
tests/qemu-iotests/061

@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# This tests qocw2-specific low-level functionality
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
echo

2
tests/qemu-iotests/063

@ -42,7 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.pattern
_supported_fmt qcow qcow2 vmdk qed raw
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" \
"subformat=twoGbMaxExtentFlat" \

2
tests/qemu-iotests/069

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt cow qed qcow qcow2 vmdk
_supported_proto generic
_supported_proto file
_supported_os Linux
_unsupported_imgopts "subformat=monolithicFlat" "subformat=twoGbMaxExtentFlat"

2
tests/qemu-iotests/071

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux
function do_run_qemu()

2
tests/qemu-iotests/072

@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt vpc vmdk vhdx vdi qed qcow2 qcow cow
_supported_proto generic
_supported_proto file
_supported_os Linux
IMG_SIZE=64M

Loading…
Cancel
Save