test: update V8 flag in test
--expose-debug-as is deprecated in V8, switch test-preload.js to a flag that still exists. PR-URL: https://github.com/nodejs/node/pull/10917 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
3e7a414853
commit
4f8582e533
@ -139,7 +139,7 @@ childProcess.exec(
|
||||
// https://github.com/nodejs/node/issues/1691
|
||||
process.chdir(common.fixturesDir);
|
||||
childProcess.exec(
|
||||
nodeBinary + ' ' + '--expose_debug_as=v8debug ' + '--require ' +
|
||||
nodeBinary + ' ' + '--expose_natives_as=v8natives ' + '--require ' +
|
||||
fixture('cluster-preload.js') + ' ' + 'cluster-preload-test.js',
|
||||
function(err, stdout, stderr) {
|
||||
assert.ifError(err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user