Files
xen/tools/xm-test/tests/help/04_help_long_pos.py
T
emellor@leeni.uk.xensource.com 3ec891fe7b Wholesale import of xm-test 0.4.0.
This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:16 +01:00

17 lines
359 B
Python

#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Li Ge <lge@us.ibm.com>
import re
from XmTestLib import *
status, output = traceCommand("xm help --long")
#print output
eyecatcher = "xm full list of subcommands:"
where = output.find(eyecatcher)
if where == -1:
FAIL("xm help --long failed to show long listing")