On Fri, Aug 23, 2013 at 10:17:37AM +0800, Wenchao Xia wrote: > What is the correct steps to run full qemu-iotests? > I modified qemu-iotests-quick.sh as: > > #!/bin/sh > > # We don't know which of the system emulator binaries there is (or > if there is > # any at all), so the 'quick' group doesn't contain any tests that require > # running qemu proper. Assign a fake binary name so that > qemu-iotests doesn't > # complain about the missing binary. > export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64" > > export QEMU_IMG_PROG="$(pwd)/qemu-img" > export QEMU_IO_PROG="$(pwd)/qemu-io" > export QEMU_NBD_PROG="$(pwd)/qemu-nbd" > > cd $SRC_PATH/tests/qemu-iotests > > ret=0 > ./check -T -nocache -qcow2 || ret=1 > > exit $ret > > Then make check-block, 026 038 fail, 038 sometimes fail. > The code from is upstream, host is RH6.3 @ x86_64. Do I missed some > steps?
You are running it correctly. There are a couple of known failures in qemu-iotests. It would be good to fix them but no one has posted patches so far. If in doubt, run qemu-iotests on qemu.git/master to see which tests are known failures. Stefan