|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xm-test: Have domains deleted if they are
# 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 <=
|
|
|
|
|