diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2022-02-09 11:29:39 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-10 06:33:08 (GMT) |
commit | 8c2d8d04f0154da31f3d64e52669fe835929273c (patch) | |
tree | 463755df9de0e83e3b36a797817291c0ae1bda8c /t/t1410-reflog.sh | |
parent | 2b9c1209706bc2ef0ab09fb0bdc7d405e225ce8b (diff) | |
download | git-8c2d8d04f0154da31f3d64e52669fe835929273c.zip git-8c2d8d04f0154da31f3d64e52669fe835929273c.tar.gz git-8c2d8d04f0154da31f3d64e52669fe835929273c.tar.bz2 |
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>
Diffstat (limited to 't/t1410-reflog.sh')
-rwxr-xr-x | t/t1410-reflog.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh index d7ddf76..36f6693 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 ) ' |