]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/goredo-deps.t
Limit TOP_DIR searching in tests
[goredo.git] / t / goredo-deps.t
index 5ab869c013b853d33c98a337bfbe548703f35275..31798541754cf8caf80c1be2cafd38b263b2e76b 100755 (executable)
@@ -3,11 +3,8 @@
 testname=`basename "$0"`
 test_description="Check that the following use-case won't rebuild everytime and has correct dependencies"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
+export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
 
-tmp=`mktemp -d`
-trap "rm -fr $tmp" HUP PIPE INT QUIT TERM EXIT
-
-cd $tmp
 mkdir -p sub
 cat > default.html.do <<EOF
 redo-ifchange \$2.pre