mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-27 22:13:28 +00:00
41 lines
683 B
Plaintext
41 lines
683 B
Plaintext
start:tabgrep_null
|
|
description: tabgrep with no argument
|
|
label:mn_only,db
|
|
cmd:tabgrep
|
|
check:output=~Usage
|
|
end
|
|
|
|
|
|
|
|
start:tabgrep_h
|
|
description:tabgrep -h an d -? and --help
|
|
label:mn_only,db
|
|
cmd:tabgrep -h
|
|
check:output=~Usage
|
|
cmd:tabgrep -?
|
|
check:output=~Usage
|
|
cmd:tabgrep --help
|
|
check:output=~Usage
|
|
end
|
|
|
|
|
|
start:tabgrep_node
|
|
label:mn_only,db
|
|
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
|
|
label:mn_only,db
|
|
cmd:rmdef -t node testnode
|
|
cmd:tabgrep testnode
|
|
check:rc!=0
|
|
check:output=~Invalid nodes and/or groups in noderange: testnode
|
|
end
|