tests/regression: skip satellite regression test on subscribed RHEl
This test does not bring any value when running on subscribed RHEL machines.
This commit is contained in:
parent
35f8707d59
commit
c38ebb1643
1 changed files with 9 additions and 3 deletions
|
|
@ -60,12 +60,18 @@ function cleanup {
|
|||
sudo systemctl stop httpd || echo "failed to stop httpd"
|
||||
}
|
||||
|
||||
# Provision the software under tet.
|
||||
/usr/libexec/osbuild-composer-test/provision.sh
|
||||
|
||||
source /etc/os-release
|
||||
ARCH=$(uname -m)
|
||||
|
||||
# Skip if running on subscribed RHEL
|
||||
if [[ "$ID" == rhel ]] && sudo subscription-manager status; then
|
||||
echo "This test is skipped on subscribed RHEL machines."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Provision the software under tet.
|
||||
/usr/libexec/osbuild-composer-test/provision.sh
|
||||
|
||||
# Discover what system is installed on the runner
|
||||
case "${ID}" in
|
||||
"fedora")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue