source: trunk/packages/xen-3.1/xen-3.1/tools/xm-test/tests/help/04_help_long_pos.py @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

  • Property svn:mime-type set to text/script
File size: 359 bytes
Line 
1#!/usr/bin/python
2
3# Copyright (C) International Business Machines Corp., 2005
4# Author: Li Ge <lge@us.ibm.com>
5
6import re
7
8from XmTestLib import *
9
10status, output = traceCommand("xm help --long")
11#print output
12
13eyecatcher = "xm full list of subcommands:"
14where = output.find(eyecatcher)
15if where == -1:
16    FAIL("xm help --long failed to show long listing")
Note: See TracBrowser for help on using the repository browser.