diff options
author | isaacs <i@izs.me> | 2012-07-29 22:37:04 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-07-29 22:37:04 +0400 |
commit | 9b0b53ace2eb51aebb2d591d05200b05ddf8ccf2 (patch) | |
tree | 7e713f48364ff0c0e03ebf03699c2e483f2e0397 | |
parent | 85f70a25514ff521bc5473ae4e4375fd93198c1c (diff) |
Test for #2658
-rw-r--r-- | test/packages/npm-test-blerg3/README | 1 | ||||
-rw-r--r-- | test/packages/npm-test-blerg3/package.json | 5 | ||||
-rw-r--r-- | test/packages/npm-test-blerg3/test.js | 5 |
3 files changed, 11 insertions, 0 deletions
diff --git a/test/packages/npm-test-blerg3/README b/test/packages/npm-test-blerg3/README new file mode 100644 index 000000000..8848f0786 --- /dev/null +++ b/test/packages/npm-test-blerg3/README @@ -0,0 +1 @@ +just an npm test diff --git a/test/packages/npm-test-blerg3/package.json b/test/packages/npm-test-blerg3/package.json new file mode 100644 index 000000000..c88b5a957 --- /dev/null +++ b/test/packages/npm-test-blerg3/package.json @@ -0,0 +1,5 @@ +{ "name":"npm-test-blerg3" +, "homepage": "https://github.com/isaacs/npm/issues/2658" +, "version" : "0.0.0" +, "scripts" : { "test" : "node test.js" } +} diff --git a/test/packages/npm-test-blerg3/test.js b/test/packages/npm-test-blerg3/test.js new file mode 100644 index 000000000..f548458ac --- /dev/null +++ b/test/packages/npm-test-blerg3/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!") |