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

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-05-04 23:51:37 +0400
committerisaacs <i@izs.me>2012-05-04 23:52:59 +0400
commit711ecdd54fa9a874d9f2836c71affc92e1a89e67 (patch)
tree7786f5892ce4d72ffa2603f0953f2ccd1ee782ed /Makefile
parentaaf0453b7cd6d9986925576303a20691136b278f (diff)
test: Run weak install with --unsafe-perm
This way it doesn't die when running as root.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5bd675c334b..d4334748756 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,8 @@ test-valgrind: all
node_modules/weak:
@if [ ! -f node ]; then make all; fi
@if [ ! -d node_modules ]; then mkdir -p node_modules; fi
- ./node deps/npm/bin/npm-cli.js install weak --prefix="$(shell pwd)"
+ ./node deps/npm/bin/npm-cli.js install weak \
+ --prefix="$(shell pwd)" --unsafe-perm # go ahead and run as root.
test-gc: all node_modules/weak
$(PYTHON) tools/test.py --mode=release gc