source: trunk/packages/xen-3.1/xen-3.1/tools/xm-test/tests/list/01_list_basic_pos.py @ 34

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: 366 bytes
Line 
1#!/usr/bin/python
2
3# Copyright (C) International Business Machines Corp., 2005
4# Author: Woody Marvel <marvel@us.ibm.com>
5
6import re
7
8from XmTestLib import *
9
10status, output = traceCommand("xm list")
11if status != 0:
12    FAIL("xm list returned invalid %i != 0" % status)
13elif not re.search("Domain-0", output):
14    FAIL("xm list output invalid; didn't see Domain-0")
Note: See TracBrowser for help on using the repository browser.