diff mbox

[Autotest] KVM test: physical_resources_check subtest:Fixup `mem_chk_cmd' for rhel3.9

Message ID 1261557558-13298-1-git-send-email-yzhou@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yolkfull Chow Dec. 23, 2009, 8:39 a.m. UTC
None
diff mbox

Patch

diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
index a403399..f5a55a0 100644
--- a/client/tests/kvm/tests_base.cfg.sample
+++ b/client/tests/kvm/tests_base.cfg.sample
@@ -535,6 +535,8 @@  variants:
                             extra_params += " -bootp /pxelinux.0 -boot n"
                             kernel_args = "ks=floppy nicdelay=60"
                             unattended_file = unattended/RHEL-3-series.ks
+                        physical_resources_check:
+                            mem_chk_cmd = dmidecode | awk -F: '/Maximum Capacity/ {print $2}'
                     - 3.9.x86_64:
                         no setup autotest linux_s3
                         image_name = rhel3-64
@@ -551,6 +553,8 @@  variants:
                             extra_params += " -bootp /pxelinux.0 -boot n"
                             kernel_args = "ks=floppy nicdelay=60"
                             unattended_file = unattended/RHEL-3-series.ks
+                        physical_resources_check:
+                            mem_chk_cmd = dmidecode | awk -F: '/Maximum Capacity/ {print $2}'
     # Windows section
     - @Windows:
         no autotest linux_s3 vlan_tag