dind: Switch OPENSHIFT_SKIP_BUILD to treat non-empty as true
@@ -265,9 +265,9 @@ esac
TEST_EXTRA_ARGS="$@"
-if [[ "${OPENSHIFT_SKIP_BUILD:-false}" = "true" ]] &&
+if [[ -n "${OPENSHIFT_SKIP_BUILD:-}" ]] &&
os::util::find::built_binary 'extended.test' >/dev/null 2>&1; then
- os::log::warn "Skipping rebuild of test binary due to OPENSHIFT_SKIP_BUILD=true"
+ os::log::warn "Skipping rebuild of test binary due to OPENSHIFT_SKIP_BUILD=1"
else
# cgo must be disabled to have the symbol table available
CGO_ENABLED=0 hack/build-go.sh test/extended/extended.test
