Skip to contentSkip to conversation

Fixes a parameter to the external tools used

PATCH New Stefan Berger 1 participant 1 message Sep 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixes a parameter to the external tools used

This patch fixes a parameter to the external tool that's used for setting the policy.

xen-unstable.hg/tools/xm-test/lib/XmTestLib/acm.py +1 -1
Index: 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, "

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel