]> arthur.barton.de Git - bup.git/commitdiff
Add a 'make stupid' target that does 'make test' with a minimal PATH.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 6 Jan 2010 16:48:35 +0000 (11:48 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 6 Jan 2010 16:49:34 +0000 (11:49 -0500)
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.

Makefile

index cc5a73b5316955739559ade65aa194db72d04381..86d2368b6420279d897731f8e39cf20440b98fb6 100644 (file)
--- 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