From: Loic Dachary Date: Wed, 1 Oct 2014 21:39:39 +0000 (+0200) Subject: qa: fix osd pool ls invalid test X-Git-Tag: v0.88~126^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=29356d8765f419e2edb89b2c7ca83ecb565a3c61;p=ceph.git qa: fix osd pool ls invalid test expect_false does not extend past the pipe and fails because the command succeeds introduced in f05c977bbcd310a83e6df03344a72d4cc06e1cc3 Signed-off-by: Loic Dachary --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 3afc3f013d3f..c9c68f6f57e3 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -218,7 +218,7 @@ function test_tiering() ceph osd tier remove slow cache3 ceph osd pool ls | grep cache3 ceph osd pool delete cache3 cache3 --yes-i-really-really-mean-it - expect_false ceph osd pool ls | grep cache3 + ! ceph osd pool ls | grep cache3 || exit 1 ceph osd pool delete slow2 slow2 --yes-i-really-really-mean-it ceph osd pool delete slow slow --yes-i-really-really-mean-it