-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Test case failing : return › early-error › write to fast-exit subprocess #1162
Comments
What do you get if you add the following two lines to test('write to fast-exit subprocess', async t => {
// Try-catch here is necessary, because this test is not 100% accurate
// Sometimes subprocess can manage to accept input before exiting
try {
await execa(`fast-exit-${process.platform}`, [], {input: 'data'});
t.pass();
} catch (error) {
+ console.log(process.platform);
+ console.log(error);
t.is(error.code, 'EPIPE');
}
}); |
Hi @ehmicky, This is what I get.
|
Thanks. I opened a PR at #1163 to fix this. Could you please confirm what |
Its ppc64le.
Thanks a lot @ehmicky for your quick assistance. |
This should be fixed now. 👍 |
@ehmicky Has this change reflected on the latest tag i.e. v9.4.1. If not then can you please do this? |
There's no need since automated tests are not released nor published to How are you installing Execa? |
Hi!
I am trying to build execa on RHEL ppc64le, for the latest version v9.4.1.
Using npm install to build it. No errors while installing.
For tests using npm tests. Facing one test error.
I see this test-cases are particularly for platforms other than Windows. I am running it on Linux ppc64le. May I know why I am facing this error?
Thanks
The text was updated successfully, but these errors were encountered: