Skip to content

Commit

Permalink
test: move more tests from sequential to parallel
Browse files Browse the repository at this point in the history
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: #6187
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
santigimeno authored and Myles Borins committed Apr 20, 2016
1 parent adfb1a4 commit 99d0a61
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ function test(clazz, cb) {
test(net.Stream, function() {
test(net.Socket);
});

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ process.on('exit', function() {
assert.ok(sentKill);
assert.ok(gotChildExit);
});

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var childProcess = require('child_process');
var fs = require('fs');

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 + '" < "' +
tmpFile + '"';
Expand All @@ -24,6 +24,8 @@ var string = 'abc\nΓΌmlaut.\nsomething else\n' +
'ζœ‰ζ•ˆηš„ζ”Ήε–„δΊ†ε²­ε—εœ°εŒΊθ½εŽηš„ζ”Ώζ²»γ€##ζ΅ŽηŽ°ηŠΆγ€‚\n';


common.refreshTmpDir();

console.log(cmd + '\n\n');

try {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ process.on('exit', function() {
assert(readable_event);
assert(end_event);
});

File renamed without changes.
File renamed without changes.

0 comments on commit 99d0a61

Please sign in to comment.