Code

combine-diff: a few more finishing touches.
[git.git] / t / annotate-tests.sh
index b6a2edd8878c910ad177b8b277bedf99f60d9416..8baf2fef69ba6a67641d2b9ba4dc44468aa31ada 100644 (file)
@@ -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 (<STDIN>) {