diff options
-rwxr-xr-x | tests/qemu-iotests/check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index 9ded37c128..2a55ec9ada 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -338,6 +338,11 @@ do reference="$reference_machine" fi + reference_format="$source_iotests/$seq.out.$IMGFMT" + if [ -f "$reference_format" ]; then + reference="$reference_format" + fi + if [ "$CACHEMODE" = "none" ]; then [ -f "$source_iotests/$seq.out.nocache" ] && reference="$source_iotests/$seq.out.nocache" fi |