summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorClemens Buchacher <drizzd@aon.at>2012-02-13 20:17:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-13 21:25:40 (GMT)
commitd202a513a4d377d3ea319bb1c5c7ae0548a3b581 (patch)
tree19ce9a78ad8d53d8a9b67bcd51055a43f3477fe5 /t
parent5238cbf65638d7a097bdb5ca8226f5acbe31f143 (diff)
downloadgit-d202a513a4d377d3ea319bb1c5c7ae0548a3b581.zip
git-d202a513a4d377d3ea319bb1c5c7ae0548a3b581.tar.gz
git-d202a513a4d377d3ea319bb1c5c7ae0548a3b581.tar.bz2
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>
Diffstat (limited to 't')
-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 b8f4c2a..da0b702 100755
--- a/t/t5541-http-push.sh
+++ b/t/t5541-http-push.sh
@@ -105,7 +105,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' '