mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip RC test on Photon OS
This commit is contained in:
parent
60b890b800
commit
d18fbb9631
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ def test_compare_pkg_versions_redhat_rc(version, install_salt):
|
|||
package of the same version. For example, v3004~rc1 should be less than
|
||||
v3004.
|
||||
"""
|
||||
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora", "photon"):
|
||||
# It'd be nice to tests photon too but rpmdev-vercmp is not installed.
|
||||
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora"):
|
||||
pytest.skip("Only tests rpm packages")
|
||||
|
||||
pkg = [x for x in install_salt.pkgs if "rpm" in x]
|
||||
|
|
Loading…
Add table
Reference in a new issue