test: replace fixturesDir in tls-env-bad-extra-ca
PR-URL: https://github.com/nodejs/node/pull/15813 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
41b65b9fa3
commit
4457f4feb9
@ -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 = Object.assign({}, process.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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user