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.8.6~5^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d202a513a4d377d3ea319bb1c5c7ae0548a3b581?ds=inline;hp=-c 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 --- d202a513a4d377d3ea319bb1c5c7ae0548a3b581 diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh index b8f4c2ac3c..da0b702639 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' '