Skip to content

Commit

Permalink
block: qemu-iotests change _supported_proto to file once more.
Browse files Browse the repository at this point in the history
In preparation to possible automatic regression and performance
testing for the block layer I found that the iotests don't work
for all protocols anymore.

In commit 1f7bf7d I started to change supported protocols from
generic to file for various tests. Unfortunately, some tests
added in the meantime again carry generic protocol altough they
can only work with file because they require local file access.

The other way around for some tests that only support file I added
NFS protocol after confirming they work.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Benoît Canet <benoit.canet@nodalink.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
plieven authored and kevmw committed Oct 23, 2014
1 parent e9082e4 commit c5f7c0a
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion tests/qemu-iotests/075
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt cloop
_supported_proto generic
_supported_proto file
_supported_os Linux

block_size_offset=128
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/076
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt parallels
_supported_proto generic
_supported_proto file
_supported_os Linux

tracks_offset=$((0x1c))
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/078
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt bochs
_supported_proto generic
_supported_proto file
_supported_os Linux

catalog_size_offset=$((0x48))
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/079
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto file
_supported_proto file nfs
_supported_os Linux

function test_qemu_img()
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/080
Expand Up @@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto generic
_supported_proto file
_supported_os Linux

header_size=104
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/081
Expand Up @@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt raw
_supported_proto generic
_supported_proto file
_supported_os Linux

function do_run_qemu()
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/082
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto file
_supported_proto file nfs
_supported_os Linux

function run_qemu_img()
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/084
Expand Up @@ -41,7 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15

# This tests vdi-specific header fields
_supported_fmt vdi
_supported_proto generic
_supported_proto file
_supported_os Linux

size=64M
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/086
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto file
_supported_proto file nfs
_supported_os Linux

function run_qemu_img()
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/088
Expand Up @@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt vpc
_supported_proto generic
_supported_proto file
_supported_os Linux

offset_block_size=$((512 + 32))
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/090
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto file
_supported_proto file nfs
_supported_os Linux

IMG_SIZE=128K
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/092
Expand Up @@ -40,7 +40,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow
_supported_proto generic
_supported_proto file
_supported_os Linux

offset_backing_file_offset=8
Expand Down
2 changes: 1 addition & 1 deletion tests/qemu-iotests/103
Expand Up @@ -39,7 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter

_supported_fmt qcow2
_supported_proto file
_supported_proto file nfs
_supported_os Linux

IMG_SIZE=64K
Expand Down

0 comments on commit c5f7c0a

Please sign in to comment.