WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xm-test: Have domains deleted if they are

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xm-test: Have domains deleted if they are managed domains
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 03 Mar 2008 07:30:19 -0800
Delivery-date: Mon, 03 Mar 2008 07:31:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204541664 0
# Node ID 35f4f285762f19abd9cb56d96afe352dc97422fd
# Parent  5ea409d66ee4c78764920c4319f8bdece359a0f6
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 <stefanb@xxxxxxxxxx>
---
 tools/xm-test/tests/security-acm/10_security-acm_pol_update.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 5ea409d66ee4 -r 35f4f285762f 
tools/xm-test/tests/security-acm/10_security-acm_pol_update.py
--- a/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py    Mon Mar 
03 10:53:43 2008 +0000
+++ b/tools/xm-test/tests/security-acm/10_security-acm_pol_update.py    Mon Mar 
03 10:54:24 2008 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xm-test: Have domains deleted if they are managed domains, Xen patchbot-unstable <=