2010-09-20 08:10:57 +00:00
|
|
|
start:noderm_noderange
|
2011-07-13 08:15:11 +00:00
|
|
|
description:noderm testnode1,testnode2
|
2010-09-20 08:10:57 +00:00
|
|
|
cmd:nodeadd testnode1,testnode2 groups=all
|
|
|
|
check:rc==0
|
|
|
|
cmd:lsdef -t node testnode1,testnode2
|
|
|
|
check:output=~testnode1
|
|
|
|
check:output=~testnode2
|
|
|
|
cmd:noderm testnode1,testnode2
|
|
|
|
check:rc==0
|
|
|
|
cmd:lsdef -t node testnode1,testnode2
|
|
|
|
check:output=~Could not find an object named 'testnode1' of type 'node'.
|
|
|
|
check:output=~Could not find an object named 'testnode2' of type 'node'.
|
|
|
|
end
|
2011-07-13 08:15:11 +00:00
|
|
|
|
|
|
|
start:noderm_h
|
|
|
|
description:noderm -h
|
|
|
|
cmd:noderm -h
|
|
|
|
check:output=~Usage
|
|
|
|
cmd:noderm --help
|
|
|
|
check:output=~Usage
|
|
|
|
end
|
|
|
|
|
|
|
|
start:noderm_null
|
|
|
|
description:noderm
|
|
|
|
cmd:noderm
|
|
|
|
check:output=~Usage
|
|
|
|
end
|
|
|
|
|
|
|
|
start:noderm_err_node
|
|
|
|
description:noderm err
|
|
|
|
cmd:rmdef -t node testnode
|
|
|
|
cmd:noderm testnode
|
|
|
|
check:rc!=0
|
|
|
|
check:output=~Invalid nodes and/or groups in noderange: testnode
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|