Code

improve for-each-ref test script
authorJeff King <peff@peff.net>
Thu, 26 Jun 2008 08:08:41 +0000 (04:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Jun 2008 19:13:03 +0000 (12:13 -0700)
commitd2bf48d2ad653ee8a052aa460ca5c6ef29dce41d
treeb80882466fdb3b91350ec0d5457d44ebf64c90ac
parent4c2d5d722c4775c1efd5e63f41ba5b303ec8fb65
improve for-each-ref test script

Previously, we did a sanity check by doing for-each-ref
using each possible format atom. However, we never checked
the actual output produced by that atom, which recently let
an obvious bug go undetected for some time.

While we're at it, also clean up a few '!' into
test_must_fail.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6300-for-each-ref.sh