-
Notifications
You must be signed in to change notification settings - Fork 41
Back to Shell usage for Windows command line (+ minor Win UT fix) #20
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
Conversation
@@ -139,7 +139,7 @@ | |||
* Create a new command line object. | |||
* 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not Linux, but Unix-like. There are other OSes too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already merged a fixed version of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
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)