-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(SERVER-3051) Pass cwd through to ShellUtils
If a `cwd` option is passed in Puppet::Util::Execution.execute, then pass it through to ShellUtils.executeCommand.
- Loading branch information
1 parent
3cba98f
commit c10fcfe
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
spec/fixtures/puppet-server-lib/puppet/jvm/execution_spec/echo_cwd.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
echo "cwd is $PWD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters