mirror of https://github.com/lukechilds/node.git
Browse Source
The test-stdin-from-from-file test runs a subprocess that verifies stdin can be piped from a file. The subprocess additionally attempts to verify that the file descriptor for stdin never gets closed. It used to do this by creating a TCP server and asserting that the associated file descriptor is greater than two. However this strategy doesn't work on windows, because servers don't have an associated file descriptor. With this patch an ordinary file is opened instead of creating a server. PR: https://github.com/iojs/io.js/pull/1067 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>v1.8.0-commit
Bert Belder
10 years ago
1 changed files with 5 additions and 6 deletions
Loading…
Reference in new issue