From: "Han-Wen Nienhuys via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: Han-Wen Nienhuys <hanwenn@gmail.com>,
Han-Wen Nienhuys <hanwen@google.com>
Subject: [PATCH 1/2] t1410: use test-tool ref-store to inspect reflogs
Date: Wed, 09 Feb 2022 11:29:39 +0000 [thread overview]
Message-ID: <0a30941261b71cf47f8f846feb7b3bafe7d69fde.1644406180.git.gitgitgadget@gmail.com> (raw)
In-Reply-To: <pull.1213.git.git.1644406180.gitgitgadget@gmail.com>
From: Han-Wen Nienhuys <hanwen@google.com>
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>
---
t/t1410-reflog.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index d7ddf7612d4..36f6693d9d3 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
)
'
--
gitgitgadget
next prev parent reply other threads:[~2022-02-09 12:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 11:29 [PATCH 0/2] reftable related tweaks to t1410 Han-Wen Nienhuys via GitGitGadget
2022-02-09 11:29 ` Han-Wen Nienhuys via GitGitGadget [this message]
2022-02-09 11:29 ` [PATCH 2/2] t1410: mark bufsize boundary test as REFFILES Han-Wen Nienhuys via GitGitGadget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a30941261b71cf47f8f846feb7b3bafe7d69fde.1644406180.git.gitgitgadget@gmail.com \
--to=gitgitgadget@gmail.com \
--cc=git@vger.kernel.org \
--cc=hanwen@google.com \
--cc=hanwenn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).