diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index b6a2edd8878c910ad177b8b277bedf99f60d9416..b5ceba4acfd8e862cfc5a77672241e07205f70ea 100644 (file)
--- a/t/annotate-tests.sh
+++ b/t/annotate-tests.sh
check_count () {
head=
case "$1" in -h) head="$2"; shift; shift ;; esac
- $PROG file $head | perl -e '
+ echo "$PROG file $head" >&4
+ $PROG file $head >.result || return 1
+ cat .result | perl -e '
my %expect = (@ARGV);
my %count = ();
while (<STDIN>) {