GNU bug report logs -
#18575
package-test-signed should use skip-unless, not expected-result
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Sat, 27 Sep 2014 19:01:01 UTC
Severity: minor
Found in version 24.4.50
Fixed in version 24.3.94
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18575 in the body.
You can then email your comments to 18575 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18575
; Package
emacs
.
(Sat, 27 Sep 2014 19:01:02 GMT)
Full text and
rfc822 format available.
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 24.4.50
Severity: minor
package-test-signed should use skip-unless rather than expected-result.
The latter can lead to false "failures" when the test succeeds, eg
https://hydra.nixos.org/build/14915239/log/raw
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18575
; Package
emacs
.
(Sat, 27 Sep 2014 22:02:01 GMT)
Full text and
rfc822 format available.
Message #6 received at 18575 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> package-test-signed should use skip-unless rather than expected-result.
> The latter can lead to false "failures" when the test succeeds, eg
>
> https://hydra.nixos.org/build/14915239/log/raw
The fact that the test can pass even when epg-check-configuration fails
probably indicates that is the wrong thing to test anyway. The cause on
hydra is probably that HOME does not exist, which causes gpg
--list-config to fail:
HOME=/tmp/foo/bar gpg --with-colons --list-config
gpg: fatal: can't create directory `/tmp/foo/bar/.gnupg': No such file or directory
Perhaps tests should bind epg-gpg-home-directory to a suitable value.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18575
; Package
emacs
.
(Tue, 30 Sep 2014 13:45:02 GMT)
Full text and
rfc822 format available.
Message #9 received at 18575 <at> debbugs.gnu.org (full text, mbox):
On Sat, 27 Sep 2014 18:01:42 -0400 Glenn Morris <rgm <at> gnu.org> wrote:
GM> Glenn Morris wrote:
>> package-test-signed should use skip-unless rather than expected-result.
>> The latter can lead to false "failures" when the test succeeds, eg
>>
>> https://hydra.nixos.org/build/14915239/log/raw
GM> The fact that the test can pass even when epg-check-configuration fails
GM> probably indicates that is the wrong thing to test anyway. The cause on
GM> hydra is probably that HOME does not exist, which causes gpg
GM> --list-config to fail:
GM> HOME=/tmp/foo/bar gpg --with-colons --list-config
GM> gpg: fatal: can't create directory `/tmp/foo/bar/.gnupg': No such file or directory
GM> Perhaps tests should bind epg-gpg-home-directory to a suitable value.
`package-refresh-contents` should create this directory and set it as
the EPG context's homedir. That does not depend, in theory, on
`epg-gpg-home-directory` because `package-refresh-contents` calls
`package-import-keyring` which does:
(let ((context (epg-make-context 'OpenPGP))
(homedir (expand-file-name "gnupg" package-user-dir)))
(make-directory homedir t)
(epg-context-set-home-directory context homedir)
...
Ted
bug marked as fixed in version 24.3.94, send any further explanations to
18575 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Oct 2014 23:25:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 30 Oct 2014 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.