2011-07-18 08:02:42 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2010-09-20 08:10:57 +00:00
|
|
|
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
|
2011-07-18 08:02:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|