Skip to content
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: ensure existence of _handle property #5916

Closed
wants to merge 1 commit into from
Closed

Commits on Mar 31, 2016

  1. test: ensure _handle property existence

    `test-stdtout-close-unref.js` will fail if `process.stdin._handle` does
    not exist. On UNIX-like operating systems, you can see this failure this
    way:
    
        ./node test/parallel/test-stdout-close-unref.js < /dev/null
    
    This issue has been experienced by @bengl and @drewfish in a Docker
    container. I'm not sure why they are experiencing it in their
    environment, but since it is possible that the `_handle` property does
    not exist, let's use `child_process.spawn()` to make sure it exists.
    Trott committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    fa8f31f View commit details
    Browse the repository at this point in the history