-
Notifications
You must be signed in to change notification settings - Fork 3
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
Native EsyBash: 'ls' command doesn't work #24
Comments
Weird. Works fine here.
Infact thats how I used to make sure it was working. Nevertheless, looking into it. |
Turnout it was because of cygwin on my path that didn't let me know of this issue. |
Oh interesting, so it picked up the other cygwin install - thanks for the help with this @prometheansacrifice ! |
Writing tests for this will be a little tricky since the cygwin binaries are already on the path when run in the test environment. |
Thanks for the fix @prometheansacrifice !
This is because we run the tests via One alternative would be to continue using node/javascript for our tests - we could run those outside of the esy sandbox. We'd just have to change the way that we invoke esy-bash - using our executable instead of the JS script. Another option would be that we could run the built Reason test_runner executable outside of the esy sandbox. Or perhaps it makes sense to have two classes of tests - inline unit tests (Reason), end-to-end tests (Node runner)? |
Thanks for the fix, @prometheansacrifice ! Verified it works now (and we have integrated |
With the native version of
esy-bash
, thels
command doesn't work:However, this works correctly with the node version:
It looks like the difference is that the JS version is somehow including
/usr/local/bin
and /usr/bin` in the PATH, whereas the native version is not. I'm not sure if this is some difference in how we spin up the bash process? We'll need to make sure these are included in the PATHThe text was updated successfully, but these errors were encountered: