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

2
t/deps/dirtest/t2.do Normal file
View file

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