Skip to contentSkip to conversation

Small fixes

PATCH Applied Stefan Berger 2 participants 2 messages Oct 24, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Small fixes

This puts two small fixes in the xm-test suite:
- it turns off verbose mode of the ACM module
- copies the test policy to the policies directory only if the directory has been created

tools/xm-test/lib/XmTestLib/acm.py +1 -1
diff -r f5321161c649 tools/xm-test/lib/XmTestLib/acm.py
@@ -26,7 +26,7 @@
     ACM_LABEL_RESOURCES = False
 
 labeled_resources = {}
-acm_verbose = True
+acm_verbose = False
 
 def isACMEnabled():
     return security.on()
tools/xm-test/runtest.sh +4 -1
diff -r f5321161c649 tools/xm-test/runtest.sh
@@ -197,7 +197,10 @@
 unsafe=no
 GROUPENTERED=default
 
-cp -f tests/security-acm/xm-test-security_policy.xml /etc/xen/acm-security/policies
+if [ -d /etc/xen/acm-security/policies ]; then
+	cp -f tests/security-acm/xm-test-security_policy.xml \
+	      /etc/xen/acm-security/policies
+fi
 
 # Resolve options
 while [ $# -gt 0 ]

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

Applied
#1 lore raw
Quoted 6 lines · Stefan Berger

This puts two small fixes in the xm-test suite:
- it turns off verbose mode of the ACM module
- copies the test policy to the policies directory only if the directory has been created

Applied, thank you.

Ewan.