Skip to contentSkip to conversation

KVM test: subtest block_hotplug: Fixup pci_test_cmd in config file

PATCH New Yolkfull Chow 1 participant 1 message Dec 8, 2009 KVM

lore
Share & tools
lore
#0 lore raw

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'.

---
 client/tests/kvm/kvm_tests.cfg.sample |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/kvm_tests.cfg.sample +1 -1
index 20ae332..73c593a 100644
@@ -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