GNU bug report logs - #18575
package-test-signed should use skip-unless, not expected-result

Previous Next

Package: emacs;

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.

Full log


Message #6 received at 18575 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18575 <at> debbugs.gnu.org
Subject: Re: bug#18575: package-test-signed should use skip-unless,
 not expected-result
Date: Sat, 27 Sep 2014 18:01:42 -0400
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.




This bug report was last modified 10 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.