[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] This adds proper cleanup in case of a failure.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 9e13e1d4b33ff8b2d48c174ec974e95207213cce
# Parent  8c27368b12ad74529ee06d96b8eb6fcc52bc02ff
This adds proper cleanup in case of a failure.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

diff -r 8c27368b12ad -r 9e13e1d4b33f 
tools/xm-test/tests/vtpm/02_vtpm-cat_pcrs.py
--- a/tools/xm-test/tests/vtpm/02_vtpm-cat_pcrs.py      Thu Apr  6 16:32:47 2006
+++ b/tools/xm-test/tests/vtpm/02_vtpm-cat_pcrs.py      Thu Apr  6 16:41:07 2006
@@ -46,6 +46,7 @@
     FAIL(str(e))
 
 if re.search("No such file",run["output"]):
+    vtpm_cleanup(domName)
     FAIL("TPM frontend support not compiled into (domU?) kernel")
 
 console.closeConsole()
diff -r 8c27368b12ad -r 9e13e1d4b33f 
tools/xm-test/tests/vtpm/03_vtpm-susp_res.py
--- a/tools/xm-test/tests/vtpm/03_vtpm-susp_res.py      Thu Apr  6 16:32:47 2006
+++ b/tools/xm-test/tests/vtpm/03_vtpm-susp_res.py      Thu Apr  6 16:41:07 2006
@@ -47,6 +47,7 @@
     FAIL(str(e))
 
 if re.search("No such file",run["output"]):
+    vtpm_cleanup(domName)
     FAIL("TPM frontend support not compiled into (domU?) kernel")
 
 console.closeConsole()

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.