Skip to contentSkip to conversation

Have domains deleted if they are managed domains

PATCH New Stefan Berger 1 participant 1 message Feb 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Have domains deleted if they are managed domains

Have the domains deleted if they are managed by xend and the tests are run with '-md' as parameter to runtest.sh.

xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py +2 -2
Index: root/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py
===================================================================
@@ -51,7 +51,7 @@ try:
     domain_ul.start(noConsole=True)
     FAIL("Could start unlabeled domain.")
 except DomainError, e:
-    pass
+    domain_ul.destroy()   # delete if xend-managed domain
 
 
 config = {"access_control":"policy=%s,label=%s" % (testpolicy,testlabel1)}
@@ -246,7 +246,7 @@ try:
     domain_red.start(noConsole=True)
     FAIL("Could start 'red' domain.")
 except DomainError, e:
-    pass
+    domain_red.destroy()  # delete if xend-managed domain
 
 # Terminate GREEN domain
 domain_green.destroy()

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