Back to Shell usage for Windows command line (+ minor Win UT fix)#20
Back to Shell usage for Windows command line (+ minor Win UT fix)#20axel3rd wants to merge 1 commit intocodehaus-plexus:masterfrom axel3rd:#17
Conversation
| * Shell is autodetected from operating system | ||
| * | ||
| * Shell usage is only desirable when generating code for remote execution. | ||
| * For Linux, shell usage is only desirable when generating code for remote execution. |
There was a problem hiding this comment.
Not Linux, but Unix-like. There are other OSes too.
There was a problem hiding this comment.
@michael-o : Good catch, you are right. Do you want I update the PR (there is 6 mentioned in file) ? (I'm not sure to understand, you have closed the PR).
There was a problem hiding this comment.
I have already merged a fixed version of the PR.
|
When trying to run this with gitbash (mingw64) I get the following result: |
|
@rfscholte : Thanks for the feedback. I have tested on 3.0.24 (GitBash, Windows 10), this two tests fail previously your report (on the assertAlwaysIncluded): => I have open #24, I will try to have a look on it. |
|
@rfscholte : After investigation, the unit tests fail when symlink resources are not preserved during The core.symlinks option should be used: I will reorient #24 and provide a PR for this check, to avoid some people loose time like us next time. |
PR for #17 : Back to Shell usage for Windows command line (only).
Allow embedded CMD command (echo, ...) and binary on PATH usage.
Regression since v3.0.15 (b38a1b3 : improvement avoiding some shell injection).
In addition, minor UT fix on DirectoryScanner (were platform dependant)