From: Junio C Hamano <gitster@pobox.com>
To: Tacitus Aedifex <aedifex@sdf.org>
Cc: git@vger.kernel.org
Subject: Re: Fixing constant preference prompts during tests
Date: Wed, 26 Sep 2018 14:48:49 -0700 [thread overview]
Message-ID: <xmqqa7o4j5fi.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <20180926213703.GA22278@SDF.ORG> (Tacitus Aedifex's message of "Wed, 26 Sep 2018 21:37:03 +0000")
Tacitus Aedifex <aedifex@sdf.org> writes:
> It may be a little more complicated than this because looking at the
> tests it seems like they set up their own dummy user with dummy keys
> and use gpg directly.
Yes, that is """the test framework (t/test-lib.sh, t/lib-gpg.sh,
etc.) tries to run our tests in a stable environment that is not
affected by real $HOME etc. owned by the user who happens to be
running the tests, but it could be that your copy of GnuPG may
require a bit more seeding than we do in our test framework to
squelch that preference prompt.""" part in my earlier response tried
to say. We do not want your choice of gpg.program or what kind of
trust you have personally recorded in your ~/.gnupg/ affect how gpg
invoked inside our tests work.
next prev parent reply other threads:[~2018-09-26 21:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 16:26 Fixing constant preference prompts during tests Tacitus Aedifex
2018-09-26 17:15 ` Junio C Hamano
2018-09-26 21:37 ` Tacitus Aedifex
2018-09-26 21:48 ` Junio C Hamano [this message]
2018-09-27 0:42 ` Tacitus Aedifex
2018-09-27 23:12 ` brian m. carlson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqa7o4j5fi.fsf@gitster-ct.c.googlers.com \
--to=gitster@pobox.com \
--cc=aedifex@sdf.org \
--cc=git@vger.kernel.org \
/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.
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 NNTP newsgroup(s).