From: Clemens Buchacher Date: Mon, 13 Feb 2012 20:17:14 +0000 (+0100) Subject: t5541: check error message against the real port number used X-Git-Tag: v1.7.9.2~10^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d202a513a4d377d3ea319bb1c5c7ae0548a3b581;p=git.git t5541: check error message against the real port number used Otherwise the test cannot be run with custom port set to LIB_HTTPD_PORT. Signed-off-by: Clemens Buchacher Signed-off-by: Junio C Hamano --- diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh index b8f4c2ac3..da0b70263 100755 --- a/t/t5541-http-push.sh +++ b/t/t5541-http-push.sh @@ -105,7 +105,7 @@ cat >exp < dev2 (hook declined) -error: failed to push some refs to 'http://127.0.0.1:5541/smart/test_repo.git' +error: failed to push some refs to 'http://127.0.0.1:$LIB_HTTPD_PORT/smart/test_repo.git' EOF test_expect_success 'rejected update prints status' '