t1410: use test-tool ref-store to inspect reflogs
This makes the test compatible with reftable (it doesn't pass yet for other reasons, unfortunately) Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Han-Wen Nienhuys committed
Feb 9, 2022 at 11:29 UTC
8c2d8d04f0154da31f3d64e52669fe835929273c
1 file changed
+2
-1
t/t1410-reflog.sh
+2
-1
@@ -418,7 +418,8 @@ test_expect_success 'expire with multiple worktrees' '
418
test_commit -C link-wt foobar &&
419
test_tick &&
420
git reflog expire --verbose --all --expire=$test_tick &&
421
- test_must_be_empty .git/worktrees/link-wt/logs/HEAD
421
+ test-tool ref-store worktree:link-wt for-each-reflog-ent HEAD >actual &&
422
+ test_must_be_empty actual
423
)
424
'
425