A test for the previous redo-ifchange bug.
This commit is contained in:
parent
840a8da1ef
commit
660e26c276
3 changed files with 7 additions and 1 deletions
1
t/deps/broken.do
Normal file
1
t/deps/broken.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
false
|
||||
4
t/deps/ifchange-fail.do
Normal file
4
t/deps/ifchange-fail.do
Normal 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
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
redo test1 test2
|
||||
redo test1 test2 ifchange-fail
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue