From: Sage Weil Date: Wed, 5 Dec 2018 22:11:40 +0000 (-0600) Subject: qa/workunits/cephtool: fix blacklist test X-Git-Tag: v14.1.0~484^2~68 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b84b8c9c66bf24c6992bd1efb6fb97b32f09720b;p=ceph.git qa/workunits/cephtool: fix blacklist test Signed-off-by: Sage Weil --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 672e788faa7a..2f7b5da5d440 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1381,7 +1381,7 @@ function test_mon_osd() ceph osd blacklist ls | grep $bl ceph osd blacklist ls --format=json-pretty | sed 's/\\\//\//' | grep $bl ceph osd dump --format=json-pretty | grep $bl - ceph osd dump | grep "^blacklist $bl" + ceph osd dump | grep $bl ceph osd blacklist rm $bl ceph osd blacklist ls | expect_false grep $bl @@ -1390,7 +1390,7 @@ function test_mon_osd() ceph osd blacklist add $bl ceph osd blacklist ls | grep $bl ceph osd blacklist rm $bl - ceph osd blacklist ls | expect_false grep $expect_false bl + ceph osd blacklist ls | expect_false grep $bl expect_false "ceph osd blacklist $bl/-1" expect_false "ceph osd blacklist $bl/foo"