Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

test: Run weak install with --unsafe-perm

This way it doesn't die when running as root.
  • Loading branch information...
isaacs committed May 4, 2012
1 parent aaf0453 commit 711ecdd54fa9a874d9f2836c71affc92e1a89e67
Showing with 2 additions and 1 deletion.
  1. +2 −1 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

0 comments on commit 711ecdd

Please sign in to comment.
You can’t perform that action at this time.