apenwarr-redo/t/122-defaults-parent/inner/default.do
Avery Pennarun 8100aa4973 Certain redo post-build failures would still mark a target as built.
If we failed because:
- target dir doesn't exist
- failed to copy from stdout
- failed to rename $3

We would correctly return error 209, but the target would still be
marked as having been built, so redo-ifchange would not try to build it
next time, beause we forgot to call sf.set_failed() in those cases.

minimal/do worked correctly.

Added a test to catch this in the future.
2019-03-02 04:05:36 -05:00

2 lines
69 B
Text

echo "inner/default.do: PWD=$PWD '$1' '$2' '$3'" >&2
echo SUSPICIOUS