Skip to contentSkip to conversation

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

PATCH Applied Yolkfull Chow 2 participants 2 messages Dec 23, 2009 – Dec 27, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: physical_resources_check subtest:Fixup `mem_chk_cmd' for rhel3.9

---
 client/tests/kvm/tests_base.cfg.sample |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
client/tests/kvm/tests_base.cfg.sample +4 -0
index a403399..f5a55a0 100644
@@ -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
Signature · 1 line
1.6.5.5
#1 lore raw

Applied, thanks!

Quoted 35 lines · Yolkfull Chow

---
 client/tests/kvm/tests_base.cfg.sample |    4 ++++

 1 files changed, 4 insertions(+), 0 deletions(-)
client/tests/kvm/tests_base.cfg.sample +0 -0
index a403399..f5a55a0 100644
@@ -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

client/tests/kvm/tests_base.cfg.sample +0 -0
@@ -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
--
1.6.5.5

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Signature · 1 line
Lucas