qemu-e2k/tests/qemu-iotests
Max Reitz 70a5ff6bdd iotests: Add test for external image truncation
It should not be happening, but it is possible to truncate an image
outside of qemu while qemu is running (or any of the qemu tools using
the block layer. raw_co_get_block_status() should not break then.

While touching this test, replace the existing "truncate" invocation by
"$QEMU_IMG convert -f raw".

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1414148280-17949-4-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-11-03 11:41:47 +00:00
..
006
022
031
2014-06-27 20:00:00 +02:00
2013-08-30 15:48:43 +02:00
039
2014-06-27 20:00:00 +02:00
2014-10-23 15:34:01 +02:00
044
054
2014-06-27 20:00:00 +02:00
2014-10-23 15:34:01 +02:00
061
2014-06-27 20:00:00 +02:00
2014-10-23 15:34:01 +02:00
062
2013-08-30 15:28:52 +02:00
069
2014-09-22 11:39:45 +01:00
070
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
072
2014-09-22 11:39:45 +01:00
2014-01-22 12:07:18 +01:00
077
2014-02-09 09:12:38 +01:00
2014-01-24 17:40:25 +01:00
2014-04-11 13:59:49 +02:00
083
2014-06-27 20:00:01 +02:00
089
2014-05-28 14:28:46 +02:00
095
2014-10-04 19:18:17 +01:00
2014-10-04 19:18:17 +01:00
099
2014-09-22 11:39:45 +01:00
100
2014-08-29 14:10:15 +01:00
2014-06-27 20:00:00 +02:00
2014-06-27 20:00:00 +02:00
2014-06-24 20:01:24 +04:00
2014-06-27 20:00:00 +02:00

=== 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.