[Rpm-maint] [rpm-software-management/rpm] Fix bogus test-suite failure when input is not a tty (#1290) (#1291)

Panu Matilainen notifications at github.com
Thu Jun 25 10:26:34 UTC 2020


When running with a non-tty input (such as inside mock), the --addsign
test will fail due to GPG_TTY related warning getting emitted since commit
52c0198e245fcac55440ed1e0211d33f84681a7a. Our test-keys do not have
passphrases that need to be asked, so just silence the warning by
manually setting GPG_TTY to an empty value.

Fixes: #1290
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1291

-- Commit Summary --

  * Fix bogus test-suite failure when input is not a tty (#1290)

-- File Changes --

    M tests/rpmsigdig.at (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1291.patch
https://github.com/rpm-software-management/rpm/pull/1291.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1291
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200625/0fb4ccaa/attachment.html>


More information about the Rpm-maint mailing list