]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5540: require REFFILES
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 22 Dec 2021 10:59:41 +0000 (10:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Dec 2021 20:00:04 +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/t5540-http-push-webdav.sh

index 8b68bb38a442747bff7a8b416f5300a9e2135662..b0dbacf0b9b5ee8300368c1defe54cf87ce3ee05 100755 (executable)
@@ -18,6 +18,12 @@ then
        test_done
 fi
 
+if test_have_prereq !REFFILES
+then
+       skip_all='skipping test; dumb HTTP protocol not supported with reftable.'
+       test_done
+fi
+
 LIB_HTTPD_DAV=t
 . "$TEST_DIRECTORY"/lib-httpd.sh
 ROOT_PATH="$PWD"