Small fixes
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
Signed-off-by Stefan Berger <[email protected]>
tools/xm-test/lib/XmTestLib/acm.py +1 -1
@@ -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
@@ -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
Ewan Mellor
AppliedQuoted 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 createdSigned-off-by Stefan Berger <[email protected]>
Applied, thank you.
Ewan.