]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/goredo-failed-build.t
Limit TOP_DIR searching in tests
[goredo.git] / t / goredo-failed-build.t
index 06431016c7bac41f5f92b28f0d40cbb88c3ecc94..f15c631c1c04d7d46b67c9d8b17fd95b96504e55 100755 (executable)
@@ -3,10 +3,7 @@
 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