Add t/deps/basic, to test basic autodependency behaviour.

Unfortunately it failed before the previous patch, so that's why this test
is needed :(

The test is a little ugly, because the bug I'm testing for didn't happen
except if you ran 'redo' two times in a row, not two times inside the same
redo session.  That's because dependency caching inside the one session
prevents the accidental rebuild.
This commit is contained in:
Avery Pennarun 2010-11-22 22:44:08 -08:00
commit 3fcd677428
7 changed files with 23 additions and 3 deletions

3
t/flush-cache.sh Normal file
View file

@ -0,0 +1,3 @@
echo "Flushing redo cache..." >&2
find "$REDO_BASE/.redo" -name 'built^*' -o -name 'mark^*' |
xargs rm -f >&2