]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/goredo-deps.t
Download link for 2.6.2 release
[goredo.git] / t / goredo-deps.t
index 9624059bd62a5e9669645a4363b690537717ea4d..34ba5044b924c0e598a191ed43d6f43b00ab608b 100755 (executable)
@@ -3,6 +3,7 @@
 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
 
 mkdir -p sub
 cat > default.html.do <<EOF
@@ -24,7 +25,7 @@ test_expect_success Rebuild "redo-ifchange sub/index.html"
 stat2=`stat sub/index.html`
 test_expect_success "Was not rebuild" '[ "$stat1" = "$stat2" ]'
 
-tgts=`sed -n "s/^Target: //p" sub/.redo/index.html.rec | sort`
+tgts=`redo-dep2rec sub/.redo/index.html.dep | sed -n "s/^Target: //p" | sort`
 tgts=`echo $tgts`
 tgts_expected="../default.html.do" # .do itself
 tgts_expected="$tgts_expected default.do" # ifcreate