debuggers.hg

view tools/xm-test/tests/domname/01_domname_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: Dan Smith <danms@us.ibm.com>
6 import re
8 from XmTestLib import *
10 status, output = traceCommand("xm domname 0")
11 if status != 0:
12 FAIL("domname(0) returned invalid %i != 0" % status)
13 elif output != "Domain-0":
14 if verbose:
15 print output
16 FAIL("domname(0) failed to return Domain-0 for domid 0")