Merge pull request #6261 from cevich/release-1.26-add_release_test

[release-1.26] Add conditional release-checking system test
This commit is contained in:
openshift-merge-bot[bot] 2025-07-10 16:00:06 +00:00 committed by GitHub
commit 4e3856fe10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -133,3 +133,12 @@ load helpers
run_buildah images -q
expect_output ""
}
@test "release" {
[[ "${RELEASE_TESTING:-false}" == "true" ]] || \
skip "Release testing may be enabled by setting \$RELEASE_TESTING = 'true'."
run_buildah --version
assert "$output" "!~" "dev" "The Buildah version string does not mention 'dev'."
}