t/t9001-send-email.sh: convert setup code to tests
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 13 Aug 2010 20:40:10 +0000 (20:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 19:43:23 +0000 (12:43 -0700)
commitf9444147fa4f5f4c2e3eb4980c762844f4b39f87
treeb1127bf031e8ea0a2c6bc4f631d966a284f4f936
parent57cd35e6adc68a33163136ef416ffa43b4821ab0
t/t9001-send-email.sh: convert setup code to tests

Change the setup code in t/t9001-send-email.sh to use
test_expect_success. This way it isn't needlessly run in environments
where the test prerequisites aren't met.

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