aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/xm-test/tests/destroy/06_destroy_dom0_neg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py b/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py
index a2899438f8..6ea47f4939 100644
--- a/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py
+++ b/tools/xm-test/tests/destroy/06_destroy_dom0_neg.py
@@ -10,5 +10,5 @@ from XmTestLib import *
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)