diff --git a/test/sequential/test-debug-args.js b/test/parallel/test-debug-args.js similarity index 100% rename from test/sequential/test-debug-args.js rename to test/parallel/test-debug-args.js diff --git a/test/sequential/test-force-repl-with-eval.js b/test/parallel/test-force-repl-with-eval.js similarity index 100% rename from test/sequential/test-force-repl-with-eval.js rename to test/parallel/test-force-repl-with-eval.js diff --git a/test/sequential/test-force-repl.js b/test/parallel/test-force-repl.js similarity index 100% rename from test/sequential/test-force-repl.js rename to test/parallel/test-force-repl.js diff --git a/test/sequential/test-net-localport.js b/test/parallel/test-net-localport.js similarity index 100% rename from test/sequential/test-net-localport.js rename to test/parallel/test-net-localport.js diff --git a/test/sequential/test-regress-GH-1531.js b/test/parallel/test-regress-GH-1531.js similarity index 100% rename from test/sequential/test-regress-GH-1531.js rename to test/parallel/test-regress-GH-1531.js diff --git a/test/sequential/test-regress-GH-1899.js b/test/parallel/test-regress-GH-1899.js similarity index 99% rename from test/sequential/test-regress-GH-1899.js rename to test/parallel/test-regress-GH-1899.js index 98396aae13b8f9..3f9d936e632b0a 100644 --- a/test/sequential/test-regress-GH-1899.js +++ b/test/parallel/test-regress-GH-1899.js @@ -17,4 +17,3 @@ child.on('exit', function(code, signal) { assert.equal(code, 0); assert.equal(output, 'hello, world!\n'); }); - diff --git a/test/sequential/test-regress-GH-4948.js b/test/parallel/test-regress-GH-4948.js similarity index 100% rename from test/sequential/test-regress-GH-4948.js rename to test/parallel/test-regress-GH-4948.js diff --git a/test/sequential/test-regress-GH-746.js b/test/parallel/test-regress-GH-746.js similarity index 99% rename from test/sequential/test-regress-GH-746.js rename to test/parallel/test-regress-GH-746.js index 4b79f3c4e355d1..0070be30f8329f 100644 --- a/test/sequential/test-regress-GH-746.js +++ b/test/parallel/test-regress-GH-746.js @@ -27,4 +27,3 @@ server.listen(common.PORT, function() { process.on('exit', function() { assert.ok(accepted); }); - diff --git a/test/sequential/test-socket-write-after-fin-error.js b/test/parallel/test-socket-write-after-fin-error.js similarity index 100% rename from test/sequential/test-socket-write-after-fin-error.js rename to test/parallel/test-socket-write-after-fin-error.js diff --git a/test/sequential/test-socket-write-after-fin.js b/test/parallel/test-socket-write-after-fin.js similarity index 100% rename from test/sequential/test-socket-write-after-fin.js rename to test/parallel/test-socket-write-after-fin.js diff --git a/test/parallel/test-stdin-child-proc.js b/test/parallel/test-stdin-child-proc.js new file mode 100644 index 00000000000000..35ae0c99d3c8ff --- /dev/null +++ b/test/parallel/test-stdin-child-proc.js @@ -0,0 +1,13 @@ +'use strict'; +// This tests that pausing and resuming stdin does not hang and timeout +// when done in a child process. See test/parallel/test-stdin-pause-resume.js +const common = require('../common'); +const assert = require('assert'); +const child_process = require('child_process'); +const path = require('path'); +const cp = child_process.spawn(process.execPath, + [path.resolve(__dirname, 'test-stdin-pause-resume.js')]); + +cp.on('exit', common.mustCall((code) => { + assert.equal(code, 0); +})); diff --git a/test/sequential/test-stdin-pipe-resume.js b/test/parallel/test-stdin-pipe-resume.js similarity index 99% rename from test/sequential/test-stdin-pipe-resume.js rename to test/parallel/test-stdin-pipe-resume.js index cd409a1d236f53..cb288070450a1f 100644 --- a/test/sequential/test-stdin-pipe-resume.js +++ b/test/parallel/test-stdin-pipe-resume.js @@ -25,4 +25,3 @@ if (process.argv[2] === 'child') { child.stdin.end(); }, 10); } - diff --git a/test/sequential/test-stdin-script-child.js b/test/parallel/test-stdin-script-child.js similarity index 100% rename from test/sequential/test-stdin-script-child.js rename to test/parallel/test-stdin-script-child.js diff --git a/test/sequential/test-stdout-cannot-be-closed-child-process-pipe.js b/test/parallel/test-stdout-cannot-be-closed-child-process-pipe.js similarity index 100% rename from test/sequential/test-stdout-cannot-be-closed-child-process-pipe.js rename to test/parallel/test-stdout-cannot-be-closed-child-process-pipe.js diff --git a/test/sequential/test-stdout-to-file.js b/test/parallel/test-stdout-to-file.js similarity index 100% rename from test/sequential/test-stdout-to-file.js rename to test/parallel/test-stdout-to-file.js diff --git a/test/sequential/test-sync-fileread.js b/test/parallel/test-sync-fileread.js similarity index 100% rename from test/sequential/test-sync-fileread.js rename to test/parallel/test-sync-fileread.js diff --git a/test/sequential/test-vm-syntax-error-stderr.js b/test/parallel/test-vm-syntax-error-stderr.js similarity index 100% rename from test/sequential/test-vm-syntax-error-stderr.js rename to test/parallel/test-vm-syntax-error-stderr.js diff --git a/test/sequential/test-zerolengthbufferbug.js b/test/parallel/test-zerolengthbufferbug.js similarity index 99% rename from test/sequential/test-zerolengthbufferbug.js rename to test/parallel/test-zerolengthbufferbug.js index de36444180b1ec..c56240011d76dd 100644 --- a/test/sequential/test-zerolengthbufferbug.js +++ b/test/parallel/test-zerolengthbufferbug.js @@ -34,4 +34,3 @@ process.on('exit', function() { assert.ok(gotResponse); assert.equal(0, resBodySize); }); -