t/test-lib.sh: add test_external and test_external_without_stderr
authorLea Wiemann <lewiemann@gmail.com>
Thu, 19 Jun 2008 18:18:03 +0000 (20:18 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Jun 2008 21:38:24 +0000 (14:38 -0700)
commitfb32c410087e68d650b31f68e66b3d9cbcce4a56
tree7ba690a9c9712c22217198283bd74306ae6eb26d
parent5f54de5bd07481f6d88e8dbd5551f3356ecbf513
t/test-lib.sh: add test_external and test_external_without_stderr

This is for running external test scripts in other programming
languages that provide continuous output about their tests.  Using
test_expect_success (like "test_expect_success 'description' 'perl
test-script.pl'") doesn't suffice here because test_expect_success
eats stdout in non-verbose mode, which is not fixable without major
file descriptor trickery.

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh