diff --git a/hack/make/.integration-test-helpers b/hack/make/.integration-test-helpers index e9b5de7eba..f35ea0e4d7 100644 --- a/hack/make/.integration-test-helpers +++ b/hack/make/.integration-test-helpers @@ -37,7 +37,7 @@ setup_integration_test_filter() { fi if [ -z "${TEST_SKIP_INTEGRATION_CLI}" ]; then - if echo "$dirs" | grep -vq '^./integration-cli$'; then + if ! echo "$dirs" | grep -q '^./integration-cli$'; then TEST_SKIP_INTEGRATION_CLI=1 echo "Skipping integration-cli tests since the supplied filter \"${TEST_FILTER}\" omits all integration-cli tests" else