Skip to content

Commit

Permalink
Merge branch 'cb/maint-t5541-make-server-port-portable'
Browse files Browse the repository at this point in the history
* cb/maint-t5541-make-server-port-portable:
  t5541: check error message against the real port number used
  • Loading branch information
Junio C Hamano committed Feb 20, 2012
2 parents abce5de + d202a51 commit 030a360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t5541-http-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' '
Expand Down

0 comments on commit 030a360

Please sign in to comment.