test/cases: add RHEL 9.0 and CentOS 9 cases to test scripts
This commit is contained in:
parent
1dd139e758
commit
a025601b85
8 changed files with 38 additions and 18 deletions
|
|
@ -17,10 +17,15 @@ source /etc/os-release
|
|||
# Provision the software under test.
|
||||
/usr/libexec/osbuild-composer-test/provision.sh
|
||||
|
||||
if [[ "${ID}-${VERSION_ID}" != "rhel-8.6" && "${ID}-${VERSION_ID}" != "rhel-9.0" ]]; then
|
||||
echo "$0 is only enabled for rhel-8.6 and rhel-9.0; skipping..."
|
||||
exit 0
|
||||
fi
|
||||
case "${ID}-${VERSION_ID}" in
|
||||
"rhel-8.6" | "rhel-9.0" | "centos-9")
|
||||
;;
|
||||
*)
|
||||
echo "$0 is not enabled for ${ID}-${VERSION_ID} skipping..."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
set -xeuo pipefail
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue