Skip to content

Commit

Permalink
We need to set_path for macOS, see #56627 for more info
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Aug 31, 2020
1 parent bb17f4e commit 22c2832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Expand Up @@ -1111,6 +1111,8 @@ def sshd_server(salt_factories, sshd_config_dir, salt_master):
factory.listen_port, RUNTIME_VARS.RUNNING_TESTS_USER
)
)
if salt.utils.platform.is_darwin():
roster_contents += " set_path: $PATH:/usr/local/bin/\n"
log.debug(
"Writing to configuration file %s. Configuration:\n%s",
roster_path,
Expand Down

0 comments on commit 22c2832

Please sign in to comment.