X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=t%2Fredo-sh.tests%2Food_3%2Ftest;fp=t%2Fredo-sh.tests%2Food_3%2Ftest;h=347d53bb1ffe93995c56816e9a5b5de23e1dd125;hb=5dfe4d08937cc9cb2f39558359ea4df2f1e830b0;hp=0000000000000000000000000000000000000000;hpb=ed2bf87ba30cd8d5934b6f29a922e48039ab00ab;p=goredo.git diff --git a/t/redo-sh.tests/ood_3/test b/t/redo-sh.tests/ood_3/test new file mode 100755 index 0000000..347d53b --- /dev/null +++ b/t/redo-sh.tests/ood_3/test @@ -0,0 +1,82 @@ +#!/bin/sh -eu +# When invoked, redo-ood must output targets for which a dependency +# changed and targets for which a dependency of a dependency changed +# and targets for which a dependency of a dependency of a dependency +# changed. + +>all.do printf 'redo-ifchange a +' + +>a.do cat <b.do cat <c.do cat <d printf '3 +' + +redo +d printf '4\n' +