From: Stefan Berger Subject: [PATCH] [Xm-Test] Have domains deleted if they are managed domains Date: Thu, 28 Feb 2008 17:29:00 -0500 Message-ID: <1204237740.5352.6.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-1ezMNR35wqc6xtvTP+E6" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-1ezMNR35wqc6xtvTP+E6 Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 --=-1ezMNR35wqc6xtvTP+E6 Content-Disposition: attachment; filename=xm_test_10_security_rem_unstarted_domains.diff Content-Type: text/x-patch; name=xm_test_10_security_rem_unstarted_domains.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py =================================================================== --- root.orig/xen-unstable.hg/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py +++ 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() --=-1ezMNR35wqc6xtvTP+E6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-1ezMNR35wqc6xtvTP+E6--