Add a test for the preceding fix (nonexistent directories).

This commit is contained in:
Avery Pennarun 2011-03-22 21:45:28 -07:00
commit 49228ce01c
5 changed files with 9 additions and 2 deletions

2
t/autosubdir/clean.do Normal file
View file

@ -0,0 +1,2 @@
rm -rf *.tmp
rm -f *~ .*~

View file

@ -0,0 +1,2 @@
mkdir -p $(dirname $1)
echo "hello" >$3

3
t/autosubdir/test.do Normal file
View file

@ -0,0 +1,3 @@
rm -rf sub.tmp
redo-ifchange sub.tmp/test.txt
[ -e sub.tmp/test.txt ] || exit 96