]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: test for error when ceph osd rm is EBUSY
authorLoic Dachary <loic@dachary.org>
Sun, 15 Dec 2013 21:59:51 +0000 (22:59 +0100)
committerSage Weil <sage@inktank.com>
Mon, 30 Dec 2013 21:07:12 +0000 (13:07 -0800)
http://tracker.ceph.com/issues/6824 fixes #6824

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 31507c90f0161c4569a2cc634c0b5f671179440a)

qa/workunits/cephtool/test.sh

index 8fdbbda0c232de3be16d19e18f2ee87b1947aa62..659589e530dcbbc95e3803c22bd4510a76fda2b0 100755 (executable)
@@ -200,6 +200,8 @@ for id in `ceph osd ls` ; do
        ceph tell osd.$id version
 done
 
+ceph osd rm 0 2>&1 | grep 'EBUSY'
+
 id=`ceph osd create`
 ceph osd lost $id --yes-i-really-mean-it
 ceph osd rm $id