From: Yolkfull Chow Subject: [AUTOTEST PATCH] KVM test: subtest block_hotplug: Fixup pci_test_cmd in config file Date: Tue, 8 Dec 2009 13:08:23 +0800 Message-ID: <1260248903-5214-1-git-send-email-yzhou@redhat.com> Cc: kvm@vger.kernel.org, Yolkfull Chow To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:26303 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbZLHFIW (ORCPT ); Tue, 8 Dec 2009 00:08:22 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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 --- client/tests/kvm/kvm_tests.cfg.sample | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_tests.cfg.sample b/client/tests/kvm/kvm_tests.cfg.sample index 20ae332..73c593a 100644 --- a/client/tests/kvm/kvm_tests.cfg.sample +++ b/client/tests/kvm/kvm_tests.cfg.sample @@ -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: -- 1.6.5.2