History | View | Annotate | Download (4.2 kB)
qemu-iotests: change _supported_proto to file for various tests
all these tests do anything of the following and thus fail with anyprotocol 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...
qemu-iotests: Quote $TEST_IMG* and $TEST_DIR usage
A lot of image filename and paths are used unquoted. Quote these tomake sure that directories / filenames with spaces are not problematic.
Signed-off-by: Jeff Cody <jcody@redhat.com>Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>...
qemu-iotests: add support for qed format
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: add support for rbd and sheepdog protocols
This patch introduces tests for protocols other than file, andinitially supports rbd and sheepdog.
Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: Use zero-based offsets for IO patterns
The io_pattern style functions have the following loop:
for i in `seq 1 $count`; do echo ... $(( start + i * step )) ... done
Offsets are 1-based so start=1024, step=512, count=4 yields:1536, 2048, 2560, 3072...
qemu-iotests: test qemu-img rebase
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Christoph Hellwig <hch@lst.de>
qemu-iotests: explicitly use bash interpreter
The tests use bash language features like 'let', which aren't supportedby /bin/sh on systems that use a conservative shell like dash. Thispatch changes the interpreter to /bin/bash.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>...
qemu-iotests: improve rebase test
The old test didn't consider cases in which the COW files contains someunallocated clusters and after them allocated ones again.