From 2f1eb8eba0f50e59eb42bceb3427be463b249832 Mon Sep 17 00:00:00 2001 From: Or Ozeri Date: Tue, 26 Jan 2021 18:54:05 +0200 Subject: [PATCH] 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 --- qa/workunits/rbd/luks-encryption.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3