From 711ecdd54fa9a874d9f2836c71affc92e1a89e67 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 4 May 2012 12:51:37 -0700 Subject: [PATCH] test: Run weak install with --unsafe-perm This way it doesn't die when running as root. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5bd675c334..d433474875 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