]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5550: require REFFILES
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 22 Dec 2021 10:59:42 +0000 (10:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Dec 2021 20:00:06 +0000 (12:00 -0800)
The dumb HTTP protocol exposes ref storage details as part of the protocol,
so it only works with the FILES refstorage backend

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5550-http-fetch-dumb.sh

index 6d9142afc3b24b39594ce869b48df9549fe603c4..259203926a95d0342a87cff42e00976e66631798 100755 (executable)
@@ -5,6 +5,13 @@ GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
 . ./test-lib.sh
+
+if test_have_prereq !REFFILES
+then
+       skip_all='skipping test; dumb HTTP protocol not supported with reftable.'
+       test_done
+fi
+
 . "$TEST_DIRECTORY"/lib-httpd.sh
 start_httpd