From 91dfb5e094f6e22f1ea9e1f5ebf8d462c5515eef Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Tue, 9 Jun 2015 11:25:19 -0700 Subject: [PATCH] tools: make test-npm work without global npm Futher discussion at https://github.com/joyent/node/pull/25294 PR-URL: https://github.com/nodejs/io.js/pull/1926 Reviewed-By: Rod Vagg Reviewed-By: Michael Dawson --- tools/test-npm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test-npm.sh b/tools/test-npm.sh index 397df10c4cfe32..5f6c5fd0030476 100755 --- a/tools/test-npm.sh +++ b/tools/test-npm.sh @@ -30,7 +30,8 @@ export npm_config_tmp="npm-tmp" # install npm devDependencies and run npm's tests ../$NODE_EXE cli.js install --ignore-scripts -../$NODE_EXE cli.js run-script test-all +../$NODE_EXE cli.js run-script test-legacy +../$NODE_EXE cli.js run-script test # clean up everything one single shot cd .. && rm -rf test-npm