Update test script annotate-tests.sh to handle missing/extra authors
authorKevin Ballard <kevin@sb.org>
Sat, 16 Oct 2010 11:09:20 +0000 (04:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Oct 2010 21:15:30 +0000 (14:15 -0700)
commit27eea66b28e15890ae587303c1c316388845169e
tree7788b127b9b9d719abc608af422abaf9e65a2356
parent352953a556e7f8d720e26a32d4aabbf823d3c4d4
Update test script annotate-tests.sh to handle missing/extra authors

The current script used by annotate-tests.sh (used by t8001 and t8002) fails
to emit a warning if any of the expected authors never show up in the output
or if authors that show up in the output were never specified as expected.
Update the script to fail in both of these scenarios.

Helped-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Kevin Ballard <kevin@sb.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh