xcat-core/xCAT-test/autotest/testcase/tabgrep/cases0
amy0701 354fb6739b update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-18 08:02:42 +00:00

37 lines
615 B
Plaintext

start:tabgrep_null
description: tabgrep with no argument
cmd:tabgrep
check:output=~Usage
end
start:tabgrep_h
description:tabgrep -h an d -? and --help
cmd:tabgrep -h
check:output=~Usage
cmd:tabgrep -?
check:output=~Usage
cmd:tabgrep --help
check:output=~Usage
end
start:tabgrep_node
cmd:mkdef -t node testnode groups=all
check:rc==0
cmd:tabgrep testnode
check:rc==0
check:output=~nodelist
cmd:rmdef -t node testnode
end
start:tabgrep_err
description:tabgrep with error noderange
cmd:rmdef -t node testnode
cmd:tabgrep testnode
check:rc!=0
check:output=~Invalid nodes and/or groups in noderange: testnode
end