X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Fannotate-tests.sh;h=8baf2fef69ba6a67641d2b9ba4dc44468aa31ada;hb=173a9cbe7031bc3574b3f41cb2d2375cf959ff2a;hp=b6a2edd8878c910ad177b8b277bedf99f60d9416;hpb=3939b805f4147a97c08cc50ef7e53cd6c2490c5c;p=git.git diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh index b6a2edd88..8baf2fef6 100644 --- a/t/annotate-tests.sh +++ b/t/annotate-tests.sh @@ -4,7 +4,8 @@ check_count () { head= case "$1" in -h) head="$2"; shift; shift ;; esac - $PROG file $head | perl -e ' + $PROG file $head >.result || return 1 + cat .result | perl -e ' my %expect = (@ARGV); my %count = (); while () {