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:
490 bytes
|
Line | |
---|
1 | #!/usr/bin/python |
---|
2 | |
---|
3 | # Copyright (C) International Business Machines Corp., 2005 |
---|
4 | # Author: Dan Smith <danms@us.ibm.com> |
---|
5 | |
---|
6 | # Check to make sure an invalid sysrq is handled appropriately |
---|
7 | |
---|
8 | import re |
---|
9 | |
---|
10 | from XmTestLib import * |
---|
11 | |
---|
12 | if ENABLE_HVM_SUPPORT: |
---|
13 | SKIP("Sysrq not supported for HVM domains") |
---|
14 | |
---|
15 | status, output = traceCommand("xm sysrq does_not_exist s"); |
---|
16 | |
---|
17 | if status == 0: |
---|
18 | if verbose: |
---|
19 | print "Bad SysRq output: " + output; |
---|
20 | FAIL("Bad SysRq didn't report error: %i == 0" % status); |
---|
Note: See
TracBrowser
for help on using the repository browser.