From 29356d8765f419e2edb89b2c7ca83ecb565a3c61 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Wed, 1 Oct 2014 23:39:39 +0200 Subject: [PATCH] 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 --- qa/workunits/cephtool/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3