xcat-core/xCAT-test/autotest/testcase/nodegrpch/cases0
amy0701 11d7b92d0a update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 08:15:11 +00:00

48 lines
717 B
Plaintext

start:nodegrpch_v
description:nodegrpch -v and --version
cmd:nodegrpch -v
check:output=~Version
cmd:nodegrpch --version
check:output=~Version
end
start:nodegrpch_h
description:nodegrpch -? and -h --help
cmd:nodegrpch -h
check:output=~Usage
cmd:nodegrpch -?
check:output=~Usage
cmd:nodegrpch --help
check:output=~Usage
end
start:nodegrpch_groups
description:nodegrpch rh4.1234567890 mgt=hmc
cmd:chdef -t node -o testnode groups=rh4.1234567890 mgt=blade
check:rc==0
cmd:nodegrpch rh4.1234567890 mgt=hmc
check:rc==0
cmd:lsdef -t node -o testnode -i mgt
check:rc==0
check:output=~mgt=hmc
cmd:rmdef -t node testnode
end
start:nodegrpch_err
description:
cmd:nodegrpch -c
check:rc!=0
check:output=~Usage
end