qemu/tests/qemu-iotests
Paolo Bonzini 90f0b71153 qemu-iotests: add tests for streaming error handling
Add a test for each of report/ignore/stop.  The tests use blkdebug
to generate an error in the middle of a script.  The error is
recoverable (once = "on") so that we can test resuming a job after
stopping for an error.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-09-28 19:40:56 +02: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 iotests: fix error in 005 2012-04-19 15:48:52 +02:00
005.out iotests: fix error in 005 2012-04-19 15:48:52 +02:00
006
006.out
007
007.out
008
008.out
009 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
009.out
010 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
010.out
011 qemu-iotests: Fix call syntax for qemu-io 2012-04-05 15:10:06 +02:00
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 qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
014
014.out qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
015
015.out qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
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 qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
023
023.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
024
024.out qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
025
025.out
026
026.out qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
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 qemu-iotests: Always filter cluster_size out in _make_test_img 2012-04-19 15:48:52 +02:00
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 qemu-iotests: Fix test 031 for qcow2 v3 support 2012-04-20 15:57:30 +02:00
031.out qcow2: implement lazy refcounts 2012-08-06 22:39:14 +02:00
032 qemu-iotests: Test bdrv_close while AIO is in flight 2012-04-19 15:48:52 +02:00
032.out qemu-iotests: Test bdrv_close while AIO is in flight 2012-04-19 15:48:52 +02:00
033 qemu-iotests: add a simple test for write_zeroes 2012-04-20 15:57:30 +02:00
033.out qemu-io: correctly print non-integer values as decimals 2012-05-10 10:32:12 +02:00
034 qemu-iotests: Test backing file COW with zero clusters 2012-04-20 15:57:30 +02:00
034.out qemu-iotests: Test backing file COW with zero clusters 2012-04-20 15:57:30 +02:00
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 initial tests for live block commit 2012-09-28 18:55:44 +02:00
040.out qemu-iotests: add initial tests for live block commit 2012-09-28 18:55:44 +02:00
check qemu-iotests: Add -o and make v3 the default for qcow2 2012-04-20 15:57:30 +02:00
common qemu-iotests: Valgrind support 2012-07-17 16:48:32 +02:00
common.config iotests: Resolve test failures caused by hostname 2012-04-20 12:58:50 +02:00
common.filter
common.pattern
common.rc qemu-iotests: skip 039 with ./check -nocache 2012-08-10 10:25:12 +02:00
COPYING
group qemu-iotests: add test for pausing a streaming operation 2012-09-28 19:14:32 +02:00
iotests.py qemu-iotests: add tests for streaming error handling 2012-09-28 19:40:56 +02:00
Makefile
qcow2.py qemu-iotests: add qcow2.py set-feature-bit command 2012-06-15 14:03:44 +02: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.