From 66b0efa93689ac2e7468e0fa641c8bf05437a593 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 3 Mar 2008 10:54:24 +0000 Subject: xm-test: 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. Signed-off-by: Stefan Berger --- tools/xm-test/tests/security-acm/10_security-acm_pol_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/xm-test') diff --git a/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py b/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py index b85079de35..441febbf01 100644 --- a/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py +++ b/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() -- cgit v1.2.3