Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port #51012 to master #56779

Closed
wants to merge 6 commits into from
Closed

Conversation

waynew
Copy link
Contributor

@waynew waynew commented Apr 21, 2020

What does this PR do?

Ports #51012 to master

When calling cmd.run with cwd in combination
with runas the working directory was not set on macOS

This commit also adds a test to check the expected behaviour

What issues does this PR fix or reference?

PR #51012

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

  • Docs
  • Changelog
  • Tests written/updated

Commits signed with GPG?

Yes

When calling cmd.run with cwd in combination
with runas the working directory was not set on macOS

This commit also adds a test to check the expected behaviour

Co-authored-by: Wayne Werner <[email protected]>
@waynew waynew requested a review from a team as a code owner April 21, 2020 17:44
@ghost ghost requested review from Ch3LL and removed request for a team April 21, 2020 17:44
waynew and others added 2 commits April 21, 2020 12:47
This also includes a .keep file so git will never get rid of the
changelog directory.
@dwoz
Copy link
Contributor

dwoz commented Apr 22, 2020

@waynew Test failures look legit

Apparently Windows and Mac really do not like that test.
@waynew
Copy link
Contributor Author

waynew commented Apr 22, 2020

Heh. Looks like those skipIfs were actually necessary. Hm. Still failing on Suse though.

@waynew
Copy link
Contributor Author

waynew commented Apr 22, 2020

Turns out that a better change was already in master 🙃

@waynew waynew closed this Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants