X-Git-Url: http://www.git.cypherpunks.ru/?p=goredo.git;a=blobdiff_plain;f=t%2Fgoredo-failed-build.t;h=1fecfb5c7efca1f47bc5c6386ab24a33c66b0b3b;hp=06431016c7bac41f5f92b28f0d40cbb88c3ecc94;hb=HEAD;hpb=46e189a9c6398c1ab1245ab1e9827b959db29219 diff --git a/t/goredo-failed-build.t b/t/goredo-failed-build.t index 0643101..1fecfb5 100755 --- a/t/goredo-failed-build.t +++ b/t/goredo-failed-build.t @@ -3,14 +3,10 @@ testname=`basename "$0"` test_description="Check that failed build is still OOD target" . $SHARNESS_TEST_SRCDIR/sharness.sh - -tmp=`mktemp -d` -trap "rm -fr $tmp" HUP PIPE INT QUIT TERM EXIT -cd $tmp +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 echo exit 1 > bar.do echo redo-ifchange bar > foo.do -export REDO_NO_PROGRESS=1 test_expect_success "first fail" 'redo foo ; [ $? = 1 ]' test_expect_success "second fail" 'redo foo ; [ $? = 1 ]'