Code

test-lib: Ignore --quiet under a TAP harness
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 31 Jul 2010 16:40:05 +0000 (16:40 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Aug 2010 18:53:48 +0000 (11:53 -0700)
commit092c433407279219cb21819d971da0fbf4a60dcd
tree8f9f42f462bb95a3d3737d1072eddda25c302b04
parentc9667456d201c435af523ffb7d583efd1784232a
test-lib: Ignore --quiet under a TAP harness

Running the tests with --quiet under a TAP harness will always fail,
since a TAP harness always needs actual test output to go along with
the plan that's being emitted.

Change the test-lib.sh to ignore the --quiet option under
HARNESS_ACTIVE to work around this. Then users that have --quiet in
their GIT_TEST_OPTS can run tests under prove(1) without everything
breaking.

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