summaryrefslogtreecommitdiff
path: root/test/parallel/test-stdio-closed.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-stdio-closed.js')
-rw-r--r--test/parallel/test-stdio-closed.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-stdio-closed.js b/test/parallel/test-stdio-closed.js
index 2313140a26..7a6625f494 100644
--- a/test/parallel/test-stdio-closed.js
+++ b/test/parallel/test-stdio-closed.js
@@ -3,7 +3,7 @@ const common = require('../common');
const assert = require('assert');
const spawn = require('child_process').spawn;
const fs = require('fs');
-const path = require('path');
+const fixtures = require('../common/fixtures');
if (common.isWindows) {
if (process.argv[2] === 'child') {
@@ -13,7 +13,7 @@ if (common.isWindows) {
return;
}
const python = process.env.PYTHON || 'python';
- const script = path.join(common.fixturesDir, 'spawn_closed_stdio.py');
+ const script = fixtures.path('spawn_closed_stdio.py');
const proc = spawn(python, [script, process.execPath, __filename, 'child']);
proc.on('exit', common.mustCall(function(exitCode) {
assert.strictEqual(exitCode, 0);