Adding a qemu-iotests client test to autotest
This patch adds an autotest module that runs
the qemu-iotests upstream testsuite.
Yolkfull Chow <yzhou@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3378 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/qemu_iotests/control b/client/tests/qemu_iotests/control
new file mode 100644
index 0000000..e24e280
--- /dev/null
+++ b/client/tests/qemu_iotests/control
@@ -0,0 +1,30 @@
+NAME = "qemu-iotests"
+AUTHOR = "Yolkfull Chow <yzhou@redhat.com>"
+TIME = "MEDIUM"
+TEST_CATEGORY = "kvm"
+TEST_CLASS = "KERNEL"
+TEST_TYPE = "CLIENT"
+DOC = """
+This is the QEMU I/O test suite autotest module
+
+* Intro
+
+This package contains a simple test suite for the I/O layer of qemu.
+It does not requite 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 upstream test suite, general feedback or just
+reports of failing tests cases to qemu-devel@savannah.nongnu.org.
+"""
+
+#job.run_test('qemu_iotests', qemu_path='', options='-qcow2', tag="qcow2")
+job.run_test('qemu_iotests', qemu_path='', options='-raw', tag="raw")