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 <drizzd@aon.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Clemens Buchacher committed Feb 13, 2012 at 21:17 UTC d202a513a4d377d3ea319bb1c5c7ae0548a3b581
1 file changed +1 -1
t/t5541-http-push.sh
+1 -1
@@ -105,7 +105,7 @@ cat >exp <<EOF
105 remote: error: hook declined to update refs/heads/dev2
106 To http://127.0.0.1:$LIB_HTTPD_PORT/smart/test_repo.git
107 ! [remote rejected] dev2 -> dev2 (hook declined)
108 -error: failed to push some refs to 'http://127.0.0.1:5541/smart/test_repo.git'
108 +error: failed to push some refs to 'http://127.0.0.1:$LIB_HTTPD_PORT/smart/test_repo.git'
109 EOF
110
111 test_expect_success 'rejected update prints status' '