summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-21 14:57:40 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-21 14:57:40 -0800
commitc1ed5e6b14eb905ac9c745f2faf65d3b8b856101 (patch)
tree1e83c6833f2e420f41e1fadb79e9f14d82482f8b
parentef55bd78e7a524e8fd7513ffa5fb6253667369cf (diff)
parentd202a513a4d377d3ea319bb1c5c7ae0548a3b581 (diff)
downloadgit-c1ed5e6b14eb905ac9c745f2faf65d3b8b856101.tar.gz
Merge branch 'cb/maint-t5541-make-server-port-portable' into maint
* cb/maint-t5541-make-server-port-portable: t5541: check error message against the real port number used
-rwxr-xr-xt/t5541-http-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5541-http-push.sh b/t/t5541-http-push.sh
index d66ed24508..cc6f081711 100755
--- a/t/t5541-http-push.sh
+++ b/t/t5541-http-push.sh
@@ -106,7 +106,7 @@ cat >exp <<EOF
remote: error: hook declined to update refs/heads/dev2
To http://127.0.0.1:$LIB_HTTPD_PORT/smart/test_repo.git
! [remote rejected] dev2 -> 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' '