qemu-e2k/tests/qemu-iotests
Nick Thomas a9660664fd tests: allow qemu-iotests to be run against nbd backend
To do this, we start a qemu-nbd process at _make_test_img and kill
it in _cleanup_test_img. $TEST_IMG is changed to point at the TCP
server. We also remove the checks for existence of binaries from
common.config - they're duplicated in common, and we can make the
qemu-nbd check conditional on $IMGPROTO being "nbd" if we do it there.

Signed-off-by: Nick Thomas <nick@bytemark.co.uk>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-11-14 18:19:21 +01:00
..
.gitignore
001
001.out
002
002.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
003
003.out
004
004.out
005
005.out
006
006.out
007
007.out
008
008.out
009
009.out
010
010.out
011
011.out
012
012.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
013
013.out
014
014.out
015
015.out
016
016.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
017
017.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
018
018.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
019
019.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
020
020.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
021
021.out
022
022.out
023
023.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
024
024.out
025
025.out
026
026.out
027
027.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
028
028.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
029
029.out
030 qemu-iotests: add tests for streaming error handling 2012-09-28 19:40:56 +02:00
030.out qemu-iotests: add tests for streaming error handling 2012-09-28 19:40:56 +02:00
031
031.out qcow2: implement lazy refcounts 2012-08-06 22:39:14 +02:00
032
032.out
033
033.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
034
034.out
035 qemu-iotests: mark 035 qcow2-only 2012-05-25 18:13:44 +02:00
035.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
036 qemu-iotests: add 036 autoclear feature bit test 2012-06-15 14:03:44 +02:00
036.out qcow2: implement lazy refcounts 2012-08-06 22:39:14 +02:00
037 qemu-iotests: Some backing file COW tests 2012-06-15 14:03:43 +02:00
037.out qemu-iotests: Some backing file COW tests 2012-06-15 14:03:43 +02:00
038 qemu-iotests: COW with many AIO requests on the same cluster 2012-06-15 14:03:43 +02:00
038.out qemu-iotests: COW with many AIO requests on the same cluster 2012-06-15 14:03:43 +02:00
039 qemu-iotests: skip 039 with ./check -nocache 2012-08-10 10:25:12 +02:00
039.out block: add BLOCK_O_CHECK for qemu-img check 2012-08-10 10:25:12 +02:00
040 qemu-iotests: add relative backing file tests for block-commit (040) 2012-10-24 10:26:19 +02:00
040.out qemu-iotests: add relative backing file tests for block-commit (040) 2012-10-24 10:26:19 +02:00
041 qemu-iotests: add testcases for mirroring on-source-error/on-target-error 2012-10-24 10:26:22 +02:00
041.out qemu-iotests: add testcases for mirroring on-source-error/on-target-error 2012-10-24 10:26:22 +02:00
042 qemu-iotests: Test qemu-img operation on zero size image 2012-10-24 10:26:18 +02:00
042.out qemu-iotests: Test qemu-img operation on zero size image 2012-10-24 10:26:18 +02:00
043 qemu-iotests: Add 043 backing file chain infinite loop test 2012-10-24 10:26:19 +02:00
043.out qemu-iotests: Add 043 backing file chain infinite loop test 2012-10-24 10:26:19 +02:00
044 qemu-iotests: qcow2: Test growing large refcount table 2012-11-14 18:19:21 +01:00
044.out qemu-iotests: qcow2: Test growing large refcount table 2012-11-14 18:19:21 +01:00
check
common tests: allow qemu-iotests to be run against nbd backend 2012-11-14 18:19:21 +01:00
common.config tests: allow qemu-iotests to be run against nbd backend 2012-11-14 18:19:21 +01:00
common.filter
common.pattern
common.rc tests: allow qemu-iotests to be run against nbd backend 2012-11-14 18:19:21 +01:00
COPYING
group qemu-iotests: qcow2: Test growing large refcount table 2012-11-14 18:19:21 +01:00
iotests.py qemu-iotests: qcow2: Test growing large refcount table 2012-11-14 18:19:21 +01:00
Makefile
qcow2.py qemu-iotests: qcow2: Test growing large refcount table 2012-11-14 18:19:21 +01:00
qed.py qemu-iotests: add qed.py image manipulation utility 2012-08-06 22:39:14 +02:00
README

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@savannah.nongnu.org.