From: Avery Pennarun Date: Wed, 6 Jan 2010 16:48:35 +0000 (-0500) Subject: Add a 'make stupid' target that does 'make test' with a minimal PATH. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=92935eb971b2f8698468eb132248a2c60f0e9a43;p=packages%2Fb%2Fbup.git Add a 'make stupid' target that does 'make test' with a minimal PATH. Because I'm stupid and I keep forgetting to test what happens if you don't have 'bup' in your PATH. Thanks to Dave Coombs and Andy Chong for reporting the problem. And in v0.01 too. --- diff --git a/Makefile b/Makefile index cc5a73b..86d2368 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ runtests: all runtests-cmdline: all ./test-sh +stupid: + PATH=/bin:/usr/bin $(MAKE) test + test: all runtests-cmdline ./wvtestrun $(MAKE) runtests