From: Stefan Berger Subject: [PATCH] [XM-TEST] Fixes a parameter to the external tools used Date: Thu, 20 Sep 2007 07:37:43 -0400 Message-ID: <1190288263.31572.2.camel@gsal-3.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-nMcSb643wHC1d3dAGR3b" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-nMcSb643wHC1d3dAGR3b Content-Type: text/plain Content-Transfer-Encoding: 7bit This patch fixes a parameter to the external tool that's used for setting the policy. Signed-off-by: Stefan Berger --=-nMcSb643wHC1d3dAGR3b Content-Disposition: attachment; filename=xm_test_acm_py_fix.diff Content-Type: text/x-patch; name=xm_test_acm_py_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/xm-test/lib/XmTestLib/acm.py =================================================================== --- root.orig/xen-unstable.hg/tools/xm-test/lib/XmTestLib/acm.py +++ root/xen-unstable.hg/tools/xm-test/lib/XmTestLib/acm.py @@ -49,7 +49,7 @@ def ACMLoadPolicy_XenAPI(policy='xm-test if polname != policy: # Try it, maybe it's not activated traceCommand("xm setpolicy %s %s" % - (xsconstants.XS_POLICY_ACM, policy)) + (xsconstants.ACM_POLICY_ID, policy)) polname = getSystemPolicyName() if polname != policy: FAIL("Need to have a system with no or policy '%s' active, " --=-nMcSb643wHC1d3dAGR3b Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-nMcSb643wHC1d3dAGR3b--