qemu-e2k/tests/qemu-iotests
Stefan Hajnoczi 0412960617 tests: set MALLOC_PERTURB_ to expose memory bugs
glibc wipes malloc(3) memory when the MALLOC_PERTURB_ environment
variable is set.  The value of the environment variable determines the
bit pattern used to wipe memory.  For more information, see
http://udrepper.livejournal.com/11429.html.

Set MALLOC_PERTURB_ for gtester and qemu-iotests.  Note we pick a random
value from 1 to 255 to expose more bugs.  If you need to reproduce a
crash use 'show environment' in gdb to extract the MALLOC_PERTURB_
value from a core dump.

Both make check and qemu-iotests pass with MALLOC_PERTURB_ enabled.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1369661331-28041-1-git-send-email-stefanha@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-05-29 08:16:06 -05:00
..
001
003
004
005
006
008
009
010
011
012
013
014
015
016
017
2013-05-08 15:28:50 +02:00
2013-05-08 15:28:50 +02:00
018
2013-05-08 15:28:50 +02:00
2013-05-08 15:28:50 +02:00
019
020
021
022
023
024
025
027
028
029
031
2012-08-06 22:39:14 +02:00
032
033
034
035
2012-08-06 22:39:14 +02:00
037
2012-06-15 14:03:43 +02:00
042
2013-05-08 15:28:49 +02:00
045
2012-12-11 11:05:11 +01:00
2012-12-11 11:05:11 +01:00
048
2013-02-22 21:21:10 +01:00
052
2013-03-19 11:48:37 +01:00
2013-04-22 10:27:58 +02:00
2012-12-11 11:05:11 +01: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.