-
Notifications
You must be signed in to change notification settings - Fork 418
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
Unable to get working on Windows under Git Bash using included instructions (No such file or directory) #256
Comments
|
I'm making guesses since I can't look into the source at the moment, but the reference to As mentioned in the readme, bats uses FD3, so my suspicion is that mingw just simply doesn't support file descriptors other than 0, 1 and 2. (This is purely my initial gut speculation, but that's where I'd start) |
|
As stated this seems to be a limitation of MinGW on Windows. I’ve reverted back to the previous release and that works well. Thanks! |
|
@jameswilddev would you mind sharing the version(s) that work and those that don't? while I don't think windows is officially supported, if it did work in a previous release, perhaps we can restore it at some point. |
|
I'm finding that the 1.1.0 release works well. Some of the tools I'm using (bats-assert, bats-support) don't handle error conditions well (you get these file descriptor errors rather than any details when a test fails) but it seems to be enough to ensure that the code works at least. |
|
Same, I have reverted to 1.10 so that I can run it on win10 |
After following these instructions from the readme, then creating the following file:
Then executing it:
I see the following output:
These results are mirrorred in a project of mine running on Travis CI. This exact same project works fine on macOS and Linux, so it seems to me that this is some form of incompatability with the Windows environment (though that Travis CI test isn't following the included instructions).
What am I doing wrong?
The text was updated successfully, but these errors were encountered: