mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var
Use the new GIT_TRACE_CURL environment variable instead of the deprecated GIT_CURL_VERBOSE. Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6ebdac1bab
commit
4eee6c6ddc
@ -74,7 +74,7 @@ test_expect_success 'push to remote repository (standard)' '
|
||||
test_tick &&
|
||||
git commit -m path2 &&
|
||||
HEAD=$(git rev-parse --verify HEAD) &&
|
||||
GIT_CURL_VERBOSE=1 git push -v -v 2>err &&
|
||||
GIT_TRACE_CURL=true git push -v -v 2>err &&
|
||||
! grep "Expect: 100-continue" err &&
|
||||
grep "POST git-receive-pack ([0-9]* bytes)" err &&
|
||||
(cd "$HTTPD_DOCUMENT_ROOT_PATH"/test_repo.git &&
|
||||
|
Loading…
Reference in New Issue
Block a user