X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=t%2Fgoredo-both-ifcreate-ifchange.t;fp=t%2Fgoredo-both-ifcreate-ifchange.t;h=e269fb4ba1364d7524abecab11636e07f15e1e72;hp=0000000000000000000000000000000000000000;hb=dec78abffe14ae2e7c3383c215803c3792788d3e;hpb=34af0e4ad73fb149c9db2c00b0dcc544838a2df2 diff --git a/t/goredo-both-ifcreate-ifchange.t b/t/goredo-both-ifcreate-ifchange.t new file mode 100755 index 0000000..e269fb4 --- /dev/null +++ b/t/goredo-both-ifcreate-ifchange.t @@ -0,0 +1,15 @@ +#!/bin/sh + +testname=`basename "$0"` +test_description="Check that warning exists when using both ifcreate/ifchange" +. $SHARNESS_TEST_SRCDIR/sharness.sh +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 + +touch src +echo redo-ifchange src > tgt.do +echo redo-ifcreate src >> tgt.do +redo tgt 2>2 + +test_expect_success "warn exists" 'grep -q "simultaneous ifcreate and ifchange" 2' + +test_done