apenwarr-redo/t/355-deps-cyclic/all.do
Robert L. Bocchino Jr 7dd63efb37 Add cyclic dependence detection.
If a depends on b which depends on a, redo would just freeze.  Now it
aborts with a somewhat helpful error message.

[Updated by apenwarr for coding style and to add a test.]
2018-10-11 03:28:05 -04:00

2 lines
64 B
Text

. ../skip-if-minimal-do.sh
! redo a >/dev/null 2>&1 || exit 204