]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/goredo-failed-build.t
Download link for 2.6.2 release
[goredo.git] / t / goredo-failed-build.t
index 06431016c7bac41f5f92b28f0d40cbb88c3ecc94..1fecfb5c7efca1f47bc5c6386ab24a33c66b0b3b 100755 (executable)
@@ -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 ]'