Browse Source

test: move more tests from sequential to parallel

Only `test-stdin-from-file.js` has been modified so that the `stdin.txt`
is written in a temp directory instead of the `fixtures` directory.

PR-URL: https://github.com/nodejs/node/pull/6187
Reviewed-By: James M Snell <jasnell@gmail.com>
v4.x
Santiago Gimeno 9 years ago
committed by Myles Borins
parent
commit
0f9405dd33
  1. 0
      test/parallel/test-cluster-listening-port.js
  2. 0
      test/parallel/test-memory-usage-emfile.js
  3. 0
      test/parallel/test-net-listen-exclusive-random-ports.js
  4. 0
      test/parallel/test-net-server-bind.js
  5. 0
      test/parallel/test-pipe-address.js
  6. 0
      test/parallel/test-pipe-head.js
  7. 1
      test/parallel/test-pipe-stream.js
  8. 0
      test/parallel/test-pipe-unref.js
  9. 0
      test/parallel/test-regress-GH-3542.js
  10. 0
      test/parallel/test-regress-GH-819.js
  11. 0
      test/parallel/test-setproctitle.js
  12. 1
      test/parallel/test-sigint-infinite-loop.js
  13. 4
      test/parallel/test-stdin-from-file.js
  14. 0
      test/parallel/test-stdout-close-catch.js
  15. 0
      test/parallel/test-stdout-stderr-reading.js
  16. 1
      test/parallel/test-stream2-httpclient-response-end.js
  17. 0
      test/parallel/test-tcp-wrap-connect.js
  18. 0
      test/parallel/test-tcp-wrap-listen.js
  19. 0
      test/parallel/test-tls-honorcipherorder.js

0
test/sequential/test-cluster-listening-port.js → test/parallel/test-cluster-listening-port.js

0
test/sequential/test-memory-usage-emfile.js → test/parallel/test-memory-usage-emfile.js

0
test/sequential/test-net-listen-exclusive-random-ports.js → test/parallel/test-net-listen-exclusive-random-ports.js

0
test/sequential/test-net-server-bind.js → test/parallel/test-net-server-bind.js

0
test/sequential/test-pipe-address.js → test/parallel/test-pipe-address.js

0
test/sequential/test-pipe-head.js → test/parallel/test-pipe-head.js

1
test/sequential/test-pipe-stream.js → test/parallel/test-pipe-stream.js

@ -65,4 +65,3 @@ function test(clazz, cb) {
test(net.Stream, function() { test(net.Stream, function() {
test(net.Socket); test(net.Socket);
}); });

0
test/sequential/test-pipe-unref.js → test/parallel/test-pipe-unref.js

0
test/sequential/test-regress-GH-3542.js → test/parallel/test-regress-GH-3542.js

0
test/sequential/test-regress-GH-819.js → test/parallel/test-regress-GH-819.js

0
test/sequential/test-setproctitle.js → test/parallel/test-setproctitle.js

1
test/sequential/test-sigint-infinite-loop.js → test/parallel/test-sigint-infinite-loop.js

@ -35,4 +35,3 @@ process.on('exit', function() {
assert.ok(sentKill); assert.ok(sentKill);
assert.ok(gotChildExit); assert.ok(gotChildExit);
}); });

4
test/sequential/test-stdin-from-file.js → test/parallel/test-stdin-from-file.js

@ -6,7 +6,7 @@ var childProcess = require('child_process');
var fs = require('fs'); var fs = require('fs');
var stdoutScript = join(common.fixturesDir, 'echo-close-check.js'); var stdoutScript = join(common.fixturesDir, 'echo-close-check.js');
var tmpFile = join(common.fixturesDir, 'stdin.txt'); var tmpFile = join(common.tmpDir, 'stdin.txt');
var cmd = '"' + process.argv[0] + '" "' + stdoutScript + '" < "' + var cmd = '"' + process.argv[0] + '" "' + stdoutScript + '" < "' +
tmpFile + '"'; tmpFile + '"';
@ -24,6 +24,8 @@ var string = 'abc\nümlaut.\nsomething else\n' +
'有效的改善了岭南地区落后的政治、##济现状。\n'; '有效的改善了岭南地区落后的政治、##济现状。\n';
common.refreshTmpDir();
console.log(cmd + '\n\n'); console.log(cmd + '\n\n');
try { try {

0
test/sequential/test-stdout-close-catch.js → test/parallel/test-stdout-close-catch.js

0
test/sequential/test-stdout-stderr-reading.js → test/parallel/test-stdout-stderr-reading.js

1
test/sequential/test-stream2-httpclient-response-end.js → test/parallel/test-stream2-httpclient-response-end.js

@ -29,4 +29,3 @@ process.on('exit', function() {
assert(readable_event); assert(readable_event);
assert(end_event); assert(end_event);
}); });

0
test/sequential/test-tcp-wrap-connect.js → test/parallel/test-tcp-wrap-connect.js

0
test/sequential/test-tcp-wrap-listen.js → test/parallel/test-tcp-wrap-listen.js

0
test/sequential/test-tls-honorcipherorder.js → test/parallel/test-tls-honorcipherorder.js

Loading…
Cancel
Save