Disabling the part of the test that relies on dispatching SIGHUP,
because sending SIGHUP is not supported on Windows.
Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
assert.throws(function() { process.kill(1/0); }, TypeError);
assert.throws(function() { process.kill(-1/0); }, TypeError);
+/* Sending SIGHUP is not supported on Windows */
+if (process.platform === 'win32') {
+ pass = true;
+ clearInterval(wait);
+ return;
+}
+
process.once('SIGHUP', function() {
process.once('SIGHUP', function() {
pass = true;