From 6bcea5c53677075c63466a6563ee2502d057c8fb Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Sat, 3 Jun 2017 20:37:01 +0100 Subject: [PATCH] tools, test: update test-npm-package paths Makes the same changes as https://github.com/nodejs/node/commit/994617370e8e66f3ea9488fec32fd912e7902396 to update the test runner for npm5. PR-URL: https://github.com/nodejs/node/pull/13441 Refs: https://github.com/nodejs/node/pull/12936 Reviewed-By: Jan Krems Reviewed-By: Luigi Pinca Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell Reviewed-By: Refael Ackermann --- tools/test-npm-package.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test-npm-package.js b/tools/test-npm-package.js index 951ec5c306ecc7..4acad2067f0484 100755 --- a/tools/test-npm-package.js +++ b/tools/test-npm-package.js @@ -24,7 +24,7 @@ const path = require('path'); const common = require('../test/common'); const projectDir = path.resolve(__dirname, '..'); -const npmBin = path.join(projectDir, 'deps', 'npm', 'cli.js'); +const npmBin = path.join(projectDir, 'deps', 'npm', 'bin', 'npm-cli.js'); const nodePath = path.dirname(process.execPath); function spawnCopyDeepSync(source, destination) { @@ -82,6 +82,7 @@ function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) { npmBin, 'install', '--ignore-scripts', + '--no-save', ], npmOptions); }