summaryrefslogtreecommitdiff
path: root/t/t5700-protocol-v1.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5700-protocol-v1.sh')
-rwxr-xr-xt/t5700-protocol-v1.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/t5700-protocol-v1.sh b/t/t5700-protocol-v1.sh
index ba86a44..022901b 100755
--- a/t/t5700-protocol-v1.sh
+++ b/t/t5700-protocol-v1.sh
@@ -4,6 +4,10 @@ test_description='test git wire-protocol transition'
TEST_NO_CREATE_REPO=1
+# This is a protocol-specific test.
+GIT_TEST_PROTOCOL_VERSION=0
+export GIT_TEST_PROTOCOL_VERSION
+
. ./test-lib.sh
# Test protocol v1 with 'git://' transport
@@ -289,6 +293,7 @@ test_expect_success 'push with http:// using protocol v1' '
grep "git< version 1" log
'
-stop_httpd
+# 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