]> Cypherpunks.ru repositories - goredo.git/blob - t/goredo-both-ifcreate-ifchange.t
Download link for 2.6.2 release
[goredo.git] / t / goredo-both-ifcreate-ifchange.t
1 #!/bin/sh
2
3 testname=`basename "$0"`
4 test_description="Check that warning exists when using both ifcreate/ifchange"
5 . $SHARNESS_TEST_SRCDIR/sharness.sh
6 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
7
8 touch src
9 echo redo-ifchange src > tgt.do
10 echo redo-ifcreate src >> tgt.do
11 redo tgt 2>2
12
13 test_expect_success "warn exists" 'grep -q "simultaneous ifcreate and ifchange" 2'
14
15 test_done