summaryrefslogtreecommitdiff
path: root/deps/npm/test/packages/npm-test-missing-bindir/test.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-12-15 08:32:07 -0800
committerisaacs <i@izs.me>2011-12-15 08:32:07 -0800
commit56f65e3c3e1a3b4958291fa79329bde22d8f2b10 (patch)
tree71a4feb66031d30a130c70d50417653035985143 /deps/npm/test/packages/npm-test-missing-bindir/test.js
parentae17e2d90afaea9a5ab094b74b0217dabec037f4 (diff)
downloadnode-new-56f65e3c3e1a3b4958291fa79329bde22d8f2b10.tar.gz
npm 1.1.0-beta-4
Diffstat (limited to 'deps/npm/test/packages/npm-test-missing-bindir/test.js')
-rw-r--r--deps/npm/test/packages/npm-test-missing-bindir/test.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/npm/test/packages/npm-test-missing-bindir/test.js b/deps/npm/test/packages/npm-test-missing-bindir/test.js
new file mode 100644
index 0000000000..f548458ac0
--- /dev/null
+++ b/deps/npm/test/packages/npm-test-missing-bindir/test.js
@@ -0,0 +1,5 @@
+
+var assert = require("assert")
+assert.equal(undefined, process.env.npm_config__password, "password exposed!")
+assert.equal(undefined, process.env.npm_config__auth, "auth exposed!")
+assert.equal(undefined, process.env.npm_config__authCrypt, "authCrypt exposed!")