From 349fbe96aeb7eb3b5100f3d9b559c4b916642287 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Fri, 9 Oct 2015 17:33:59 -0700 Subject: [PATCH] tools: update test-npm to work with npm 3 Refs: https://github.com/nodejs/node/pull/3308 PR-URL: https://github.com/nodejs/node/pull/3489 Reviewed-By: Rod Vagg Reviewed-By: Jeremiah Senkpiel --- tools/test-npm.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/test-npm.sh b/tools/test-npm.sh index 8fa8731b5ee7a1..23f4492e15c1ea 100755 --- a/tools/test-npm.sh +++ b/tools/test-npm.sh @@ -29,10 +29,9 @@ export npm_config_prefix="$(pwd)/npm-prefix" export npm_config_tmp="$(pwd)/npm-tmp" # install npm devDependencies and run npm's tests - ../$NODE cli.js install --ignore-scripts -../$NODE cli.js run-script test-legacy -../$NODE cli.js run-script test +../$NODE test/run.js +../$NODE cli.js run-script tap -- "test/tap/*.js" # clean up everything one single shot cd .. && rm -rf test-npm