未验证 提交 86404503 编写于 作者: L Lukáš Doktor

Merging pull request 1163

Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>

* https://github.com/autotest/tp-qemu:
  Make sure image was produced in "live_snapshot_chain" test
  Remove "drop_caches" from live_snapshot_chain test
  ioeventfd: Rename the output file to avoid clashes
  boot_order_check: Enable only on i386/x86_64
  spice: Restrict it to i386 and x86_64
- boot_order_check:
virt_test_type = qemu
only Linux
only i386, x86_64
type = boot_order_check
kill_vm = yes
boot_menu = on
......
......@@ -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"
......
......@@ -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 =
......
- rv:
no JeOS
only i386, x86_64
vms += " vm2"
guest_vm = virt-tests-vm1
client_vm = vm2
......
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()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册