|
Last change
on this file since 34 was
34,
checked in by hartmans, 18 years ago
|
|
Add xen and xen-common
|
-
Property svn:mime-type set to
text/script
|
|
File size:
409 bytes
|
| Line | |
|---|
| 1 | #!/usr/bin/python |
|---|
| 2 | |
|---|
| 3 | # Copyright (C) International Business Machines Corp., 2005 |
|---|
| 4 | # Author: Woody Marvel <marvel@us.ibm.com> |
|---|
| 5 | |
|---|
| 6 | import re |
|---|
| 7 | |
|---|
| 8 | from XmTestLib import * |
|---|
| 9 | |
|---|
| 10 | status, output = traceCommand("xm destroy -x") |
|---|
| 11 | eyecatcher = "Error:" |
|---|
| 12 | where = output.find(eyecatcher) |
|---|
| 13 | if status == 0: |
|---|
| 14 | FAIL("xm destroy returned invalid %i != 0" % status) |
|---|
| 15 | elif where == -1: |
|---|
| 16 | FAIL("xm destroy failed to report error for bad arg") |
|---|
Note: See
TracBrowser
for help on using the repository browser.