t5540: 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>
Han-Wen Nienhuys committed
Dec 22, 2021 at 10:59 UTC
8c21d820e9ddaf7ddcb0c882f27bec017e28984f
1 file changed
+6
t/t5540-http-push-webdav.sh
+6
@@ -18,6 +18,12 @@ then
18
test_done
19
fi
20
21
+if test_have_prereq !REFFILES
22
+then
23
+ skip_all='skipping test; dumb HTTP protocol not supported with reftable.'
24
+ test_done
25
+fi
26
+
27
LIB_HTTPD_DAV=t
28
. "$TEST_DIRECTORY"/lib-httpd.sh
29
ROOT_PATH="$PWD"