diff options
author | Tom Wilkie <tom.wilkie@gmail.com> | 2007-03-26 16:18:16 +0100 |
---|---|---|
committer | Tom Wilkie <tom.wilkie@gmail.com> | 2007-03-26 16:18:16 +0100 |
commit | 54a101a7dd2700b7c9a5a1b08aa3072d8f46396d (patch) | |
tree | 2ae55368aee790d40731bf1a93554fbe5eae1a77 /tools/xm-test | |
parent | c549108730a39a14f716e5294ff5a84fc935b6a8 (diff) | |
download | xen-54a101a7dd2700b7c9a5a1b08aa3072d8f46396d.tar.gz xen-54a101a7dd2700b7c9a5a1b08aa3072d8f46396d.tar.bz2 xen-54a101a7dd2700b7c9a5a1b08aa3072d8f46396d.zip |
Make 06_destroy_dom0_neg pass with xm via XenAPI.
Make check case insensitive.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r-- | tools/xm-test/tests/destroy/06_destroy_dom0_neg.py | 2 |
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) |