From: Han-Wen Nienhuys Date: Wed, 9 Feb 2022 11:29:39 +0000 (+0000) Subject: t1410: use test-tool ref-store to inspect reflogs X-Git-Tag: v2.36.0-rc0~120^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c2d8d04f0154da31f3d64e52669fe835929273c;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh index d7ddf7612d..36f6693d9d 100755 --- a/t/t1410-reflog.sh +++ b/t/t1410-reflog.sh @@ -418,7 +418,8 @@ test_expect_success 'expire with multiple worktrees' ' test_commit -C link-wt foobar && test_tick && git reflog expire --verbose --all --expire=$test_tick && - test_must_be_empty .git/worktrees/link-wt/logs/HEAD + test-tool ref-store worktree:link-wt for-each-reflog-ent HEAD >actual && + test_must_be_empty actual ) '