diff options
author | Sage Weil <sage@inktank.com> | 2013-08-07 08:35:48 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-07 08:35:48 -0700 |
commit | 0c1fd629fa56bcd9b20ee4dab6e477a3a90c003b (patch) | |
tree | 61335595feede48e9ea262b89b8fc81a3c98fbaf | |
parent | 298e7d876e32c69662e6db99ba61e113a6b883c6 (diff) | |
download | ceph-0c1fd629fa56bcd9b20ee4dab6e477a3a90c003b.tar.gz |
qa/workunits/cephtool/test.sh: test set/unset of all osd flags
Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-x | qa/workunits/cephtool/test.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index fe790c2ded8..7915e48a6ed 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -155,6 +155,14 @@ ceph osd scrub 0 ceph osd deep-scrub 0 ceph osd repair 0 +for f in noup nodown noin noout noscrub nodeep-scrub nobackfill norecover +do + ceph osd set $f + ceph osd unset $f +done +expect_false ceph osd set bogus +expect_false ceph osd unset bogus + ceph osd set noup ceph osd down 0 ceph osd dump | grep 'osd.0 down' |