tests/kola/upgrade: source os-release before workaround helper

This commit is contained in:
Nikita Dubrovskii 2026-10-07 14:29:45 +02:00 committed by Dusty Mabe
parent 503b3ce841
commit e0d9659ef7

View file

@ -14,6 +14,7 @@ set -eux -o pipefail
# shellcheck disable=SC1091
. "$KOLA_EXT_DATA/commonlib.sh"
. /etc/os-release # for $VERSION_ID
# This test starts from a caller-selected build (`cosa kola run
# --build=x.y.z`) and verifies that it can update and boot. Only production
@ -224,8 +225,6 @@ selinux-sanity-check() {
ok "Selinux sanity checks passed"
}
. /etc/os-release # for $VERSION_ID
need_restart='false'
arch=$(arch)