{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/5935","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/5935/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5935/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/5935/events","html_url":"https://github.com/nodejs/node/pull/5935","id":144003261,"number":5935,"title":"test: stdin is not always a net.Socket","user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/known%20issue%20test","name":"known issue test","color":"fef2c0"},{"url":"https://api.github.com/repos/nodejs/node/labels/process","name":"process","color":"00aaff"},{"url":"https://api.github.com/repos/nodejs/node/labels/test","name":"test","color":"990099"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-28T15:26:17Z","updated_at":"2016-03-31T17:07:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5935","html_url":"https://github.com/nodejs/node/pull/5935","diff_url":"https://github.com/nodejs/node/pull/5935.diff","patch_url":"https://github.com/nodejs/node/pull/5935.patch"},"body":"### Pull Request check-list\r\n\r\n- [X] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [X] Is the commit message formatted according to [CONTRIBUTING.md][0]?\r\n\r\n### Affected core subsystem(s)\r\n\r\ntest\r\n\r\n[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit\r\n\r\n### Description of change\r\n\r\nRefs: https://github.com/nodejs/node/pull/5916#issuecomment-202126418\r\n\r\n> `<`-ing a file into stdin actually results in a [`fs.ReadStream`](https://github.com/nodejs/node/blob/293fd0453591ef0d87437a265ff515916d35d715/lib/fs.js#L1791), rather an a `tty.ReadStream`, and as such does not [inherit from `net.Socket`](https://github.com/nodejs/node/blob/293fd0453591ef0d87437a265ff515916d35d715/lib/tty.js#L29), unlike the other possible `stdin` options: https://github.com/nodejs/node/blob/293fd0453591ef0d87437a265ff515916d35d715/lib/internal/process/stdio.js#L54-L57\r\n\r\ncc @Trott I think this should cover the known issue.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/204025413","html_url":"https://github.com/nodejs/node/pull/5935#issuecomment-204025413","issue_url":"https://api.github.com/repos/nodejs/node/issues/5935","id":204025413,"user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:07:36Z","updated_at":"2016-03-31T17:07:36Z","body":"Yea, LGTM"}}