Skip to content

Commit

Permalink
Fix annotate test script; notice when git-annotate fails.
Browse files Browse the repository at this point in the history
The t8001-annotate.sh test claimed all tests pass, when in fact
the git-annotate perl script failed to run! (prior to fixing the
script to work with perl 5.5).

Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Ramsay Allan Jones authored and Junio C Hamano committed Aug 2, 2006
1 parent 6ebdee5 commit 1fd4da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/annotate-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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>) {
Expand Down

0 comments on commit 1fd4da6

Please sign in to comment.