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 Sep 3, 2020
1 parent 75968f0 commit fd9149f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Expand Up @@ -1135,6 +1135,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 fd9149f

Please sign in to comment.