-
Notifications
You must be signed in to change notification settings - Fork 6
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
Tests fail on Windows. #5
Comments
I think now runcmd.go works on both systems. |
But I have gnuwin cat installed... it will probably fail for you. |
I ran the test on windows, and it passed fine. I was using the powershell terminal, but I don't think that really matters considering |
I still testing what is the best behaviour there - use cmd /c for On 14 July 2015 at 13:09, Nicholas Bailey [email protected] wrote:
|
I would say either let the user choose the default command to be used, or check if powershell exists, and if not default down to cmd.
|
Dear Nicholas, |
The default tests for runcmd_test.go fail on windows. By default hf uses
cat $FILES
andcat $FILES | wc -l
as test commands. On Windows,cat
is an alias in Powershell. When the default shell is changed to usepowershell -Command
instead ofcmd /c
, thecat
command works for one file, but it will not work for multiple files.The text was updated successfully, but these errors were encountered: