Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-03-22 01:25:36 +0300
committerisaacs <i@izs.me>2011-03-22 01:56:48 +0300
commit0b6fe8c9f9ef5ad18ce8ab9188395f138a117ac7 (patch)
treec84ae6c78654a5b44036ddd7dfeda8281ca48425 /test
parent2ddb67b32266dfb30d54d1956484d7c2fcfe744e (diff)
don't recursively test npm forever
Diffstat (limited to 'test')
-rwxr-xr-xtest/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run.sh b/test/run.sh
index dec1b02c7..0480fedc4 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -112,6 +112,8 @@ cleanup () {
export npm_config_prefix="$ROOTDIR"
export npm_config_color="always"
export npm_config_global=true
+# have to set this to false, or it'll try to test itself forever
+export npm_config_npat=false
export PATH="$PATH":"$ROOTDIR/bin":"$ROOTDIR/node_modules/.bin"
export NODE_PATH="$ROOTDIR/node_modules"