A test for the previous redo-ifchange bug.

This commit is contained in:
Avery Pennarun 2010-11-21 07:14:36 -08:00
commit 660e26c276
3 changed files with 7 additions and 1 deletions

1
t/deps/broken.do Normal file
View file

@ -0,0 +1 @@
false

4
t/deps/ifchange-fail.do Normal file
View file

@ -0,0 +1,4 @@
if redo-ifchange broken 2>/dev/null; then
echo "expected broken.do to fail, but it didn't" >&2
exit 44
fi

View file

@ -1,2 +1,3 @@
redo test1 test2 redo test1 test2 ifchange-fail