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-09-05 09:58:08 +0400
committerisaacs <i@izs.me>2011-09-05 09:58:08 +0400
commit0596d31d76b042251b40c51665c2320aa7aa9017 (patch)
tree70231db32b3986c60af3b7d6a58008c55c603995 /test
parentcda988d711826980aef8369e250d97559d80e684 (diff)
Use dnode for tests instead of express
Compatible with node master
Diffstat (limited to 'test')
-rw-r--r--test/packages/npm-test-env-reader/package.json2
-rw-r--r--test/packages/npm-test-url-dep/package.json2
-rwxr-xr-xtest/run.sh5
3 files changed, 7 insertions, 2 deletions
diff --git a/test/packages/npm-test-env-reader/package.json b/test/packages/npm-test-env-reader/package.json
index 01153a2df..cb2f074ff 100644
--- a/test/packages/npm-test-env-reader/package.json
+++ b/test/packages/npm-test-env-reader/package.json
@@ -1,6 +1,6 @@
{ "name":"npm-test-env-reader"
, "version" : "1.2.3"
-, "dependencies" : { "connect":"*", "fab":"*", "glob":"*" }
+, "dependencies" : { "dnode":"*", "fab":"*" }
, "scripts" :
{ "install" : "./test.sh"
, "preinstall" : "./test.sh"
diff --git a/test/packages/npm-test-url-dep/package.json b/test/packages/npm-test-url-dep/package.json
index 3a783eb05..72a139e54 100644
--- a/test/packages/npm-test-url-dep/package.json
+++ b/test/packages/npm-test-url-dep/package.json
@@ -1,4 +1,4 @@
{ "name":"npm-test-url-dep"
, "version" : "1.2.3"
, "dependencies" :
- { "express" : "https://github.com/visionmedia/express/tarball/master" } }
+ { "dnode" : "https://github.com/substack/dnode/tarball/master" } }
diff --git a/test/run.sh b/test/run.sh
index 9b4189acc..2443726db 100755
--- a/test/run.sh
+++ b/test/run.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+if [ "$DEBUG" != "" ]; then
+ set -x
+fi
+
+
# the "npm" command is set to a custom function here so that we can
# test the code in this repo, rather than whichever version of npm
# happens to be installed.