tests: run ostree.sh tests on fedora and centos

When tools/define-compose-url.sh was sourced the tests were skipped if
they were not running on rhel. Also change the BOOT_LOCATION for
centos-8.
This commit is contained in:
Jakub Rusz 2021-11-05 09:15:23 +01:00 committed by Ondřej Budai
parent 14b7e92eaa
commit 0508a7ad1b
2 changed files with 11 additions and 7 deletions

View file

@ -4,7 +4,7 @@ source /etc/os-release
# This isn't needed when not running on RHEL
if [[ $ID != rhel ]]; then
exit 0
return 0
fi
if [[ $ID == rhel && ${VERSION_ID%.*} == 8 ]]; then