t5541: avoid TAP test miscounting
lib-terminal.sh runs a test and thus increases the test count, but the output is lost so that TAP produces a "no plan found error". Move the lib-terminal call after the lib-httpd and make TAP happy (though still leave me clueless). Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Clemens Buchacher <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael J Gruber committed
Jan 8, 2012 at 22:06 UTC
d336572f57e398318a0f6c51cc760d5be9872cc2
1 file changed
+1
-1
t/t5541-http-push.sh
+1
-1
@@ -5,7 +5,6 @@
5
6
test_description='test smart pushing over http via http-backend'
7
. ./test-lib.sh
8
-. "$TEST_DIRECTORY"/lib-terminal.sh
8
9
if test -n "$NO_CURL"; then
10
skip_all='skipping test, git built without http support'
@@ -15,6 +14,7 @@ fi
14
ROOT_PATH="$PWD"
15
LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5541'}
16
. "$TEST_DIRECTORY"/lib-httpd.sh
17
+. "$TEST_DIRECTORY"/lib-terminal.sh
18
start_httpd
19
20
test_expect_success 'setup remote repository' '