Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t5541: check error message against the real port number used
author
Clemens Buchacher
<drizzd@aon.at>
Mon, 13 Feb 2012 20:17:14 +0000
(21:17 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 13 Feb 2012 21:25:40 +0000
(13:25 -0800)
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>
t/t5541-http-push.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5238cbf
)
diff --git
a/t/t5541-http-push.sh
b/t/t5541-http-push.sh
index b8f4c2ac3cf3a83d8b62f3d474e8da0630c37ac8..da0b7026399929d388c43426a7ba6145ba9768c4 100755
(executable)
--- 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' '