about summary refs log tree commit diff
path: root/third_party/git/t/t5700-protocol-v1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t5700-protocol-v1.sh')
-rwxr-xr-xthird_party/git/t/t5700-protocol-v1.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/git/t/t5700-protocol-v1.sh b/third_party/git/t/t5700-protocol-v1.sh
index 7c9511c593c1..022901b9eb6f 100755
--- a/third_party/git/t/t5700-protocol-v1.sh
+++ b/third_party/git/t/t5700-protocol-v1.sh
@@ -5,7 +5,8 @@ test_description='test git wire-protocol transition'
 TEST_NO_CREATE_REPO=1
 
 # This is a protocol-specific test.
-GIT_TEST_PROTOCOL_VERSION=
+GIT_TEST_PROTOCOL_VERSION=0
+export GIT_TEST_PROTOCOL_VERSION
 
 . ./test-lib.sh
 
@@ -292,4 +293,7 @@ test_expect_success 'push with http:// using protocol v1' '
 	grep "git< version 1" log
 '
 
+# DO NOT add non-httpd-specific tests here, because the last part of this
+# test script is only executed when httpd is available and enabled.
+
 test_done