mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 parent
aa395b78fe
commit
de4dc31a55
19 files changed
+3
-1
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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 + '"';
|
||||
@@ -24,6 +24,8 @@ var string = 'abc\nümlaut.\nsomething else\n' +
|
||||
'有效的改善了岭南地区落后的政治、##济现状。\n';
|
||||
|
||||
|
||||
common.refreshTmpDir();
|
||||
|
||||
console.log(cmd + '\n\n');
|
||||
|
||||
try {
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user