debuggers.hg

view tools/xm-test/tests/dmesg/01_dmesg_basic_pos.py @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 #!/usr/bin/python
3 # Copyright (C) International Business Machines Corp., 2005
4 # Author: Woody Marvel <marvel@us.ibm.com>
6 import re
8 from XmTestLib import *
10 status, output = traceCommand("xm dmesg")
11 if status != 0:
12 FAIL("xm dmesg returned invalid %i != 0" % status)
13 elif not re.search("\(XEN\)", output):
14 FAIL("xm dmesg didn't output and (XEN) lines")