mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
52 lines
785 B
Plaintext
52 lines
785 B
Plaintext
start:nodegrpch_v
|
|
description:nodegrpch -v and --version
|
|
label:mn_only,db
|
|
cmd:nodegrpch -v
|
|
check:output=~Version
|
|
cmd:nodegrpch --version
|
|
check:output=~Version
|
|
end
|
|
|
|
start:nodegrpch_h
|
|
description:nodegrpch -? and -h --help
|
|
label:mn_only,db
|
|
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
|
|
label:mn_only,db
|
|
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:
|
|
label:mn_only,db
|
|
cmd:nodegrpch -c
|
|
check:rc!=0
|
|
check:output=~Usage
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|