Skip to content
Snippets Groups Projects
Unverified Commit c5641264 authored by Piotr Balcer's avatar Piotr Balcer Committed by GitHub
Browse files

Merge pull request #4995 from pbalcer/sds-test-fix

test: fix sds support check in pmempool_feature
parents 887f0f3c 11318a92
No related branches found
No related tags found
No related merge requests found
......@@ -154,8 +154,8 @@ function pmempool_feature_test_SHUTDOWN_STATE() {
# If SDS is not enabled at this point is because SDS is not available for
# this device
pmempool_feature_query_return "SHUTDOWN_STATE"
if [[ $? -eq 0 ]]; then
ret=$(pmempool_feature_query_return "SHUTDOWN_STATE")
if [[ $ret -eq 0 ]]; then
msg "$UNITTEST_NAME: SKIP: SDS is not available"
exit 0
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment