X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=t%2Fgoredo-%241-touch.t;fp=t%2Fgoredo-%241-touch.t;h=0d73b0249d90e88b791ad04461a7a0b704b35525;hp=0000000000000000000000000000000000000000;hb=bc7d703f9a123395144adf394c27e87740ff5e72;hpb=99100e46ba3eb8e5f8b4b9bc7b9a52c0f881a282 diff --git a/t/goredo-$1-touch.t b/t/goredo-$1-touch.t new file mode 100755 index 0000000..0d73b02 --- /dev/null +++ b/t/goredo-$1-touch.t @@ -0,0 +1,11 @@ +#!/bin/sh + +testname=`basename "$0"` +test_description="Check failing if unexistent \$1 is touched" +. $SHARNESS_TEST_SRCDIR/sharness.sh +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 + +echo touch \$1 > foo.do +test_expect_success "it fails" 'redo foo ; [ $? = 1 ]' + +test_done