KVM test: subtest block_hotplug: Fixup pci_test_cmd in config file
PATCH 1/1 KVM test: subtest block_hotplug: Fixup pci_test_cmd in config file
RHEL-4.8 is still using 'hd[a-z]' as harddisk device name. This patch adds 'h' to regular expression in command `pci_test_cmd'.
Signed-off-by Yolkfull Chow <[email protected]>
--- client/tests/kvm/kvm_tests.cfg.sample | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/kvm_tests.cfg.sample +1 -1
@@ -217,7 +217,7 @@ variants: image_size_stg = 1G remove_image_stg = yes force_create_image_stg = yes - pci_test_cmd = "yes | mke2fs `fdisk -l 2>&1 | awk '/\/dev\/[sv]d[a-z] doesn/ {print $2}'`" + pci_test_cmd = "yes | mke2fs `fdisk -l 2>&1 | awk '/\/dev\/[hsv]d[a-z] doesn/ {print $2}'`" wait_secs_for_hook_up = 3 kill_vm_on_error = yes variants:
Signature · 1 line
1.6.5.2