]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/goredo-deps.t
Repetitive OOD optimization
[goredo.git] / t / goredo-deps.t
index a0a58d50343a084e3cd7d14255de31ebb1857d15..5ab869c013b853d33c98a337bfbe548703f35275 100755 (executable)
@@ -6,6 +6,7 @@ test_description="Check that the following use-case won't rebuild everytime and
 
 tmp=`mktemp -d`
 trap "rm -fr $tmp" HUP PIPE INT QUIT TERM EXIT
+
 cd $tmp
 mkdir -p sub
 cat > default.html.do <<EOF
@@ -27,7 +28,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.dep | sort`
+tgts=`sed -n "s/^Target: //p" sub/.redo/index.html.rec | sort`
 tgts=`echo $tgts`
 tgts_expected="../default.html.do" # .do itself
 tgts_expected="$tgts_expected default.do" # ifcreate