From 3a9e4f512f0bdb1bfce1032a3e6e27c641b34941 Mon Sep 17 00:00:00 2001 From: ellen56 Date: Mon, 14 Feb 2011 06:26:57 +0000 Subject: [PATCH] fix defect 3125259, which report issue in case chvm_p git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/chvm/cases0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-test/autotest/testcase/chvm/cases0 b/xCAT-test/autotest/testcase/chvm/cases0 index 3fe3ccc21..108ef90a4 100644 --- a/xCAT-test/autotest/testcase/chvm/cases0 +++ b/xCAT-test/autotest/testcase/chvm/cases0 @@ -6,11 +6,11 @@ #end start:chvm_p hcp:hmc -cmd:lsvm $$CN > /tmp/autotest.profile -check:rc==0 cmd:mkdef -t node -o testnode mgt=hmc groups=all cmd:mkvm testnode -i $$MaxLparID -l $$CN check:rc==0 +cmd:lsvm testnode > /tmp/autotest.profile +check:rc==0 cmd:perl -pi -e 's/min_mem=\d+/min_mem=1024/g' /tmp/autotest.profile cmd:cat /tmp/autotest.profile|chvm testnode check:rc==0 @@ -19,8 +19,8 @@ check:output=~min_mem=1024 cmd:chvm testnode -p __GETNODEATTR($$CN, pprofile)__ check:rc==0 check:output=~Success -cmd:lsvm testnode -check:output!~min_mem=1024 +cmd:lsvm -a testnode +check:output=~__GETNODEATTR($$CN, pprofile)__ cmd:rmvm testnode cmd:rm -f /tmp/autotest.profile end