This commit changes the luks encryption cli test to return success instead of failure when not supported.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
(cherry picked from commit
2f1eb8eba0f50e59eb42bceb3427be463b249832)
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