From 0f8b315a9e403adf5bce6d4df35c2818b64a354a Mon Sep 17 00:00:00 2001 From: Annie Weng Date: Fri, 6 Oct 2017 09:32:57 -0700 Subject: [PATCH] test: replace fixturesDir in tls-env-bad-extra-ca PR-URL: https://github.com/nodejs/node/pull/15813 Reviewed-By: Ryan Graham Reviewed-By: Benjamin Gruenbaum Reviewed-By: Joyee Cheung Reviewed-By: Gibson Fahnestock --- test/parallel/test-tls-env-bad-extra-ca.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-tls-env-bad-extra-ca.js b/test/parallel/test-tls-env-bad-extra-ca.js index ece93f33539d71..493b659778b2f2 100644 --- a/test/parallel/test-tls-env-bad-extra-ca.js +++ b/test/parallel/test-tls-env-bad-extra-ca.js @@ -7,8 +7,9 @@ if (!common.hasCrypto) common.skip('missing crypto'); const assert = require('assert'); -const tls = require('tls'); +const fixtures = require('../common/fixtures'); const fork = require('child_process').fork; +const tls = require('tls'); if (process.env.CHILD) { // This will try to load the extra CA certs, and emit a warning when it fails. @@ -17,7 +18,7 @@ if (process.env.CHILD) { const env = { CHILD: 'yes', - NODE_EXTRA_CA_CERTS: `${common.fixturesDir}/no-such-file-exists`, + NODE_EXTRA_CA_CERTS: `${fixtures.fixturesDir}/no-such-file-exists` }; const opts = {