@matheusbsbs / matheus-bagliano / commits / 1fd4da643c
Fork 0

Fix annotate test script; notice when git-annotate fails.

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>

Ramsay Allan Jones committed Jul 29, 2006 at 17:20 UTC 1fd4da643cb829618bbe76ab37df7f1b4dafc656
1 file changed +2 -1
t/annotate-tests.sh
+2 -1
@@ -4,7 +4,8 @@
4 check_count () {
5 head=
6 case "$1" in -h) head="$2"; shift; shift ;; esac
7 - $PROG file $head | perl -e '
7 + $PROG file $head >.result || return 1
8 + cat .result | perl -e '
9 my %expect = (@ARGV);
10 my %count = ();
11 while (<STDIN>) {