From 22c2832cd03b7bea5145cb569d6ed69c7862b3e0 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Fri, 14 Aug 2020 17:08:08 +0100 Subject: [PATCH] We need to `set_path` for macOS, see #56627 for more info --- tests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 599036e90c17..33d62f82a2d3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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,