OSDN Git Service

t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var
authorElia Pinto <gitter.spiros@gmail.com>
Mon, 5 Sep 2016 10:24:41 +0000 (10:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:41:39 +0000 (11:41 -0700)
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>
t/t5541-http-push-smart.sh

index 4840c71..d38bf32 100755 (executable)
@@ -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 &&