From: Or Ozeri Date: Tue, 26 Jan 2021 16:54:05 +0000 (+0200) Subject: test/librbd: fix luks encryption cli test on unsupported runs X-Git-Tag: v17.1.0~3160^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39089%2Fhead;p=ceph.git test/librbd: fix luks encryption cli test on unsupported runs This commit changes the luks encryption cli test to return success instead of failure when not supported. Signed-off-by: Or Ozeri --- diff --git a/qa/workunits/rbd/luks-encryption.sh b/qa/workunits/rbd/luks-encryption.sh index 6042465ec0d..95bbafaedc6 100755 --- a/qa/workunits/rbd/luks-encryption.sh +++ b/qa/workunits/rbd/luks-encryption.sh @@ -52,13 +52,13 @@ function clean_up { if [[ $(uname) != "Linux" ]]; then echo "LUKS encryption tests only supported on Linux" - exit 1 + exit 0 fi if [[ $(($(ceph-conf --name client.${CEPH_ID} rbd_default_features) & 64)) != 0 ]]; then echo "LUKS encryption tests not supported alongside image journaling feature" - exit 1 + exit 0 fi clean_up