apenwarr-redo/t/351-deps-forget/bork.do
Avery Pennarun 2b0d34f0ed More fixes for converting missing targets -> sources.
I attempted to fix this in commit c06d1fba40, but it was apparently
incomplete and not all cases were covered by tests.

Let's add a much more thorough test by going through every possible
combination and making sure redo-{sources,targets,ood} all work as
expected, that the "you modified it" warning does or does not show up
when expected, and that dependencies are rebuilt the number of times we
expect.
2018-12-02 19:39:29 -05:00

11 lines
150 B
Text

printf x >>$1.log
redo-always
read want <want
case $want in
err) exit 10 ;;
nil) exit 0 ;;
add) printf x >>$3; exit 0 ;;
*) exit 80 ;;
esac