Unverified Commit df02efbb authored by Vincent Petry's avatar Vincent Petry
Browse files

Properly filter out encryption tests

Fixed behat command tags filter condition to properly exclude tests that
have "@no_encryption" set.
parent 6100a3d0
......@@ -83,10 +83,10 @@ fi
# Enable encryption if requested
if test "$OC_TEST_ENCRYPTION_ENABLED" = "1"; then
env_encryption_enable
BEHAT_FILTER_TAGS="~@no_encryption ~@no_default_encryption"
BEHAT_FILTER_TAGS="~@no_encryption&&~@no_default_encryption"
elif test "$OC_TEST_ENCRYPTION_MASTER_KEY_ENABLED" = "1"; then
env_encryption_enable_master_key
BEHAT_FILTER_TAGS="~@no_encryption ~@no_masterkey_encryption"
BEHAT_FILTER_TAGS="~@no_encryption&&~@no_masterkey_encryption"
fi
if test "$BEHAT_FILTER_TAGS"; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment