Dan Mick
4698d99c38
Enhance cephtool tests for coverage of CLI rewrite
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-05-21 16:23:41 -07:00
Dan Mick
2491f976e4
workunits/cephtool: add tests for ceph osd pool set/get
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-01-18 22:36:31 -08:00
Dan Mick
aea898db2b
ceph: reject negative weights at ceph osd <n> reweight
...
Check the integer (fixed-point) value to avoid any worries
about floating-point rounding. Add tests for reweight < 0.
Fixes : #3872
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage.weil@inktank.com>
2013-01-18 18:32:21 -08:00
Dan Mick
7d9d7651be
workunit/cephtool: Use '! cmd' when expecting failure
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-01-18 18:32:13 -08:00
Sage Weil
2e49d5c4b7
cephtool: add qa workunit
...
A few basic sanity checks, including a tell on a down osd.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-12-19 08:37:42 -08:00