Skip to content

Commit d336572

Browse files
Michael J Grubergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Clemens Buchacher <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c207e34 commit d336572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5541-http-push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
test_description='test smart pushing over http via http-backend'
77
. ./test-lib.sh
8-
. "$TEST_DIRECTORY"/lib-terminal.sh
98

109
if test -n "$NO_CURL"; then
1110
skip_all='skipping test, git built without http support'
@@ -15,6 +14,7 @@ fi
1514
ROOT_PATH="$PWD"
1615
LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5541'}
1716
. "$TEST_DIRECTORY"/lib-httpd.sh
17+
. "$TEST_DIRECTORY"/lib-terminal.sh
1818
start_httpd
1919

2020
test_expect_success 'setup remote repository' '

0 commit comments

Comments
 (0)