test: delete obsolete test-sendfd.js#14334
Closed
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test was fixed in Nov/2010 (
fa556a1425 Add callback to socket.write(), fix test-sendfds)Test was disable in Oct/2011 (
d2b8037ed0 disable test-sendfd).Some of the c++ binding(s) are not present anymore (ie:
src/node_net.cc). That file loaded the bindings. Now, it does not exist anymoreVariable netBinding has two methods: pipe() is used to create a read and write pair for the FD's and close() closes the pipe(s).
Removal of
process.binding()and adding a socket provided a solution to our original error.It also generated a new error:
Since this test has been disabled for so many years and it has two, maybe more, levels of brokenness I request a deletion of the test.