tools: update test-npm.sh paths

PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Kat Marchán 2017-05-09 14:37:29 -07:00 committed by Anna Henningsen
parent 425aba4f36
commit 994617370e
No known key found for this signature in database
GPG Key ID: D8B9F5AEAE84E4CF

View File

@ -33,11 +33,11 @@ export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
unset NODE
# make sure the binaries from the non-dev-deps are available
node cli.js rebuild
node bin/npm-cli.js rebuild
# install npm devDependencies and run npm's tests
node cli.js install --ignore-scripts
node bin/npm-cli.js install --ignore-scripts --no-save
# run the tests
node cli.js run-script test-node
node bin/npm-cli.js run-script test-node
# clean up everything one single shot
cd .. && rm -rf test-npm