summaryrefslogtreecommitdiffstats
path: root/t/t1409-avoid-packing-refs.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1409-avoid-packing-refs.sh')
-rwxr-xr-xt/t1409-avoid-packing-refs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t1409-avoid-packing-refs.sh b/t/t1409-avoid-packing-refs.sh
index f23c015..7748973 100755
--- a/t/t1409-avoid-packing-refs.sh
+++ b/t/t1409-avoid-packing-refs.sh
@@ -5,6 +5,12 @@ test_description='avoid rewriting packed-refs unnecessarily'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
+if test_have_prereq !REFFILES
+then
+ skip_all='skipping files-backend specific pack-refs tests'
+ test_done
+fi
+
# Add an identifying mark to the packed-refs file header line. This
# shouldn't upset readers, and it should be omitted if the file is
# ever rewritten.