# HG changeset patch
# User Tom Wilkie <tom.wilkie@xxxxxxxxx>
# Date 1174922296 -3600
# Node ID 5a60095a22991c2628adde9aff0beaa6ab68233d
# Parent effef488d448c075978ca910fc96e280bbc45da3
Make 06_destroy_dom0_neg pass with xm via XenAPI.
Make check case insensitive.
signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx>
---
tools/xm-test/tests/destroy/06_destroy_dom0_neg.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r effef488d448 -r 5a60095a2299
tools/xm-test/tests/destroy/06_destroy_dom0_neg.py
--- a/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py Mon Mar 26
16:04:24 2007 +0100
+++ b/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py Mon Mar 26
16:18:16 2007 +0100
@@ -10,5 +10,5 @@ status, output = traceCommand("xm destro
status, output = traceCommand("xm destroy 0")
if status == 0:
FAIL("xm destroy returned bad status, expected non 0, status is: %i" %
status)
-elif not re.search("Error", output):
+elif not re.search("Error", output, re.I):
FAIL("xm destroy returned bad output, expected Error:, output is: %s" %
output)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|