Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: Run weak install with --unsafe-perm
Browse files Browse the repository at this point in the history
This way it doesn't die when running as root.
  • Loading branch information
isaacs committed May 4, 2012
1 parent aaf0453 commit 711ecdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 711ecdd

Please sign in to comment.