t/deps/dirtest: test correct dependency checking for targets named 'dirname'

We had a bug (fixed in the previous commit) where doing 'redo-ifchange
dirname' (which runs dirname/all.do) would not create the stamp correctly,
so that it would always show up as dirty.

It's a little bit complicated to simulate, but this does it.
This commit is contained in:
Avery Pennarun 2010-11-22 22:50:54 -08:00
commit ac36c5bbb1
10 changed files with 34 additions and 2 deletions

View file

@ -0,0 +1,2 @@
redo-ifchange stinky
echo $$ >>log

View file

@ -0,0 +1 @@
echo "I'm stinky"