diff --git a/qemu/tests/cfg/boot_order_check.cfg b/qemu/tests/cfg/boot_order_check.cfg index 9e5b8188934008b3605464065b6bfec76c2ac417..510ba40ff5635f004da70b6ba76ba75f5055bdbd 100644 --- a/qemu/tests/cfg/boot_order_check.cfg +++ b/qemu/tests/cfg/boot_order_check.cfg @@ -1,6 +1,7 @@ - boot_order_check: virt_test_type = qemu only Linux + only i386, x86_64 type = boot_order_check kill_vm = yes boot_menu = on diff --git a/qemu/tests/cfg/ioeventfd.cfg b/qemu/tests/cfg/ioeventfd.cfg index 943faf91b523a97312fb8814ff5957745d3d82a2..fa03a9dba9a155e187c57ec2ee2f947bed67263c 100644 --- a/qemu/tests/cfg/ioeventfd.cfg +++ b/qemu/tests/cfg/ioeventfd.cfg @@ -10,7 +10,7 @@ test_control_file = iozone.control shutdown_method = shell subtest_type_dd_test = guests - cmd_dd_test = "dd if=/dev/zero of=/home/test bs=1M count=1024 oflag=direct" + cmd_dd_test = "dd if=/dev/zero of=/home/test.img bs=1M count=1024 oflag=direct" Windows: subtests = dd_test boot iozone_windows shutdown cmd_dd_test = "D:\coreutils\DummyCMD.exe C:\dd_test 1073741824 1 && del C:\dd_test" diff --git a/qemu/tests/cfg/live_snapshot_chain.cfg b/qemu/tests/cfg/live_snapshot_chain.cfg index 8cd11d30ab8cd617334f16b1860c726bcfa1d699..88e9224fc2c986062a48218b2aac4beda93c2846 100644 --- a/qemu/tests/cfg/live_snapshot_chain.cfg +++ b/qemu/tests/cfg/live_snapshot_chain.cfg @@ -14,8 +14,6 @@ check_alive_cmd = "ls" kill_vm = yes remove_snapshot_images = yes - pre_command = "sync && echo 3 > /proc/sys/vm/drop_caches" - post_command = "sync && echo 3 > /proc/sys/vm/drop_caches" variants: - pause: file_create = diff --git a/qemu/tests/cfg/spice.cfg b/qemu/tests/cfg/spice.cfg index d99f55a095f08d53d9c959fbc9daf2c629caa11a..f3fdbd9f492fe7fa6ca06ffdafa922ad032b9f27 100644 --- a/qemu/tests/cfg/spice.cfg +++ b/qemu/tests/cfg/spice.cfg @@ -1,5 +1,6 @@ - rv: no JeOS + only i386, x86_64 vms += " vm2" guest_vm = virt-tests-vm1 client_vm = vm2 diff --git a/qemu/tests/live_snapshot_chain.py b/qemu/tests/live_snapshot_chain.py index edbbee1b5062b2a31623529948bd02d367ae5a15..81f06bcf86d141b27b852009a8b116fdbe00054e 100644 --- a/qemu/tests/live_snapshot_chain.py +++ b/qemu/tests/live_snapshot_chain.py @@ -1,3 +1,4 @@ +import os import re import logging import time @@ -168,4 +169,7 @@ def run(test, params, env): if index != 0: image = qemu_storage.QemuImg( image_params, data_dir.get_data_dir(), image) + test.assertTrue(os.path.exists(image.image_filename), + "Produced snapshot is not present in " + "filesystem: %s." % image.image_filename) image.remove()