]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: test_status_in_pool_dir: explicitly check grep return value
authorMykola Golub <mgolub@mirantis.com>
Fri, 2 Dec 2016 08:10:52 +0000 (10:10 +0200)
committerMykola Golub <mgolub@mirantis.com>
Sat, 3 Dec 2016 17:37:10 +0000 (19:37 +0200)
commit7c078eda0fc260f6a885fa43f377b47844867d12
tree53155c0a893188c168ae5bb11ac7496597b0337b
parent177bae7549078a5216dbc364ac3b27d4d0b3b0ca
qa/workunits/rbd: test_status_in_pool_dir: explicitly check grep return value

Otherwise, it does not work as supposed to work in statements like below:

 set -e
 test_status_in_pool_dir ... && ...

(e.g. in wait_for_status_in_pool_dir)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
qa/workunits/rbd/rbd_mirror_helpers.sh