diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-12-22 10:59:42 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-22 20:00:06 (GMT) |
commit | 7b6853a826affa2cec885e48b86f7730efb737d6 (patch) | |
tree | 1cc00daf806b8fe4987f03c39fd8f6d69cb2fdba /t | |
parent | 8c21d820e9ddaf7ddcb0c882f27bec017e28984f (diff) | |
download | git-7b6853a826affa2cec885e48b86f7730efb737d6.zip git-7b6853a826affa2cec885e48b86f7730efb737d6.tar.gz git-7b6853a826affa2cec885e48b86f7730efb737d6.tar.bz2 |
t5550: require REFFILES
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5550-http-fetch-dumb.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t5550-http-fetch-dumb.sh b/t/t5550-http-fetch-dumb.sh index 6d9142a..2592039 100755 --- a/t/t5550-http-fetch-dumb.sh +++ b/t/t5550-http-fetch-dumb.sh @@ -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 |