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:
479 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | # Copyright (C) International Business Machines Corp., 2005 |
---|
4 | # Author: Murillo F. Bernardes <mfb@br.ibm.com> |
---|
5 | |
---|
6 | import time |
---|
7 | import re |
---|
8 | |
---|
9 | from XmTestLib import * |
---|
10 | |
---|
11 | status, output = traceCommand("xm pause 1246445" ) |
---|
12 | |
---|
13 | eyecatcher = "Error" |
---|
14 | where = output.find(eyecatcher) |
---|
15 | if status == 0: |
---|
16 | FAIL("xm pause returned bad status, expected non 0, status is: %i" % status ) |
---|
17 | elif where == -1: |
---|
18 | FAIL("xm pause returned bad output, expected Error, output is: %s" % output ) |
---|
Note: See
TracBrowser
for help on using the repository browser.