From 54a101a7dd2700b7c9a5a1b08aa3072d8f46396d Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Mon, 26 Mar 2007 16:18:16 +0100 Subject: Make 06_destroy_dom0_neg pass with xm via XenAPI. Make check case insensitive. signed-off-by: Tom Wilkie --- tools/xm-test/tests/destroy/06_destroy_dom0_neg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/xm-test') 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) -- cgit v1.2.3