mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Using salt.utils.path.which to find false, on OSX it lives under /usr/bin/
This commit is contained in:
parent
353f9d4eb8
commit
e03ab81b99
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ class PipStateTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
)
|
||||
)
|
||||
|
||||
false_cmd = '/bin/false'
|
||||
false_cmd = salt.utils.path.which('false')
|
||||
if salt.utils.platform.is_windows():
|
||||
false_cmd = 'exit 1 >nul'
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue