mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't run --help
on salt-proxy
script for classic macos packages, it doesn't work for now
This commit is contained in:
parent
9114e86da0
commit
b867063395
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
import subprocess
|
||||
|
||||
from pytestskipmarkers.utils import platform
|
||||
|
||||
|
||||
def test_help(install_salt):
|
||||
"""
|
||||
|
@ -12,6 +14,10 @@ def test_help(install_salt):
|
|||
# Singlebin build, unable to get the version
|
||||
continue
|
||||
|
||||
# TODO: Remove this condition once the fixed 3005.x classic packages are released.
|
||||
if "salt-proxy" in cmd[0] and platform.is_darwin() and install_salt.classic:
|
||||
continue
|
||||
|
||||
if "python" in cmd[0] and len(cmd) == 1:
|
||||
ret = install_salt.proc.run(
|
||||
*cmd, "--version", stdout=subprocess.PIPE, stderr=subprocess.PIPE
|
||||
|
|
Loading…
Add table
Reference in a new issue