Skip to content

t: more compatibility fixes with reftables

Patrick Steinhardt git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10t0410: mark tests to require the reffiles backendt/t0410-partial-clone.sh+2 -21 reply
2/10t1400: split up generic reflog tests from the reffile-specific onest/t1400-update-ref.sh+35 -60 replies
3/10t1401: stop treating FETCH_HEAD as real referencet/t1401-symbolic-ref.sh+2 -20 replies
4/10t1410: use test-tool to create empty reflogt/t1410-reflog.sh+2 -20 replies
5/10t1417: make `reflog --updateref` tests backend agnostict/t1417-reflog-updateref.sh+7 -30 replies
6/10t3310: stop checking for reference existence via `test -f`t/t3310-notes-merge-manual-resolve.sh+3 -30 replies
7/10t4013: simplify magic parsing and drop "failure"t/t4013-diff-various.sh+12 -150 replies
8/10t5401: speed up creation of many branchest/t5401-update-hooks.sh+2 -41 reply
9/10t5551: stop writing packed-refs directlyt/t5551-http-fetch-smart.sh+3 -11 reply
10/10t6301: write invalid object ID via `test-tool ref-store`t/t6301-for-each-ref-errors.sh+6 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] t: more compatibility fixes with reftables

Hi,

this is the second patch series that refactors tests to become compatible with the upcoming reftables backend. It's in the same spirit as the first round of patches [1], where most of the refactorings are to use plumbing tools to access refs or the reflog instead of modifying on-disk data structures directly.

Patrick

[1]: <[email protected]>

Patrick Steinhardt (10):
t0410: mark tests to require the reffiles backend
t1400: split up generic reflog tests from the reffile-specific ones
t1401: stop treating FETCH_HEAD as real reference
t1410: use test-tool to create empty reflog
t1417: make reflog --updateref tests backend agnostic
t3310: stop checking for reference existence via test -f
t4013: simplify magic parsing and drop "failure"
t5401: speed up creation of many branches
t5551: stop writing packed-refs directly
t6301: write invalid object ID via test-tool ref-store

 t/t0410-partial-clone.sh              |  4 +--
 t/t1400-update-ref.sh                 | 41 +++++++++++++++++++++++----
 t/t1401-symbolic-ref.sh               |  4 +--
 t/t1410-reflog.sh                     |  4 +--
 t/t1417-reflog-updateref.sh           | 10 +++++--
 t/t3310-notes-merge-manual-resolve.sh |  6 ++--
 t/t4013-diff-various.sh               | 27 ++++++++----------
 t/t5401-update-hooks.sh               |  6 ++--
 t/t5551-http-fetch-smart.sh           |  4 ++-
 t/t6301-for-each-ref-errors.sh        | 13 ++++-----
 10 files changed, 74 insertions(+), 45 deletions(-)
Signature · 1 line
2.43.0