t/README: Update "Skipping tests" to align with best practices
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 28 Jul 2010 10:34:59 +0000 (10:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 19:42:45 +0000 (12:42 -0700)
commit99d9050d256d1a928ce6d13fe275d8fd4bfcbdee
treecdc964e61b7002c54ab974bf051146fb36dd9419
parent2c4f302607070c44b1bb1beca26ab4653a604baf
t/README: Update "Skipping tests" to align with best practices

The example I initially added to "Skipping tests" wasn't very
good. We'd rather skip tests using the three-arg prereq form to the
test_* functions, not bail out with a skip message.

Change the documentation to reflect that, but retain the bailout
example under a disclaimer which explains that it's probably not a
good idea to use it.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README