X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=t%2Fgoredo-double-consideration.t;fp=t%2Fgoredo-double-consideration.t;h=b300245d48daf88ca7502e0948df93351f27cea1;hp=0000000000000000000000000000000000000000;hb=fed124f1460226ab037657bac5717bdb49bf6b78;hpb=b69d2ab11a495413ecc16a9bfea0d105b030c606 diff --git a/t/goredo-double-consideration.t b/t/goredo-double-consideration.t new file mode 100755 index 0000000..b300245 --- /dev/null +++ b/t/goredo-double-consideration.t @@ -0,0 +1,38 @@ +#!/bin/sh + +testname=`basename "$0"` +test_description="Do not fail if two always-ed targets run simultaneously" +. $SHARNESS_TEST_SRCDIR/sharness.sh +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 + +echo redo-ifchange version.h > all.do +cat > version.h.do < "\$3" +redo-stamp <"\$3" +EOF +cat > version.do < "\$3" +redo-always +redo-stamp <"\$3" +EOF +cat > date.do <"\$3" +redo-always +redo-stamp <"\$3" +EOF +cat > version.h.in <