[Pkg-gnupg-commit] [gnupg2] 27/116: tests: Fix faked time in the TOFU test.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Jan 24 04:40:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit 6d065198337b5242889723481bfa9ce81aa108bb
Author: Justus Winter <justus at g10code.com>
Date: Mon Jan 2 16:37:02 2017 +0100
tests: Fix faked time in the TOFU test.
* tests/openpgp/tofu.scm (GPG): Fix time delta.
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/openpgp/tofu.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/openpgp/tofu.scm b/tests/openpgp/tofu.scm
index 20c130a..cfcd5c8 100755
--- a/tests/openpgp/tofu.scm
+++ b/tests/openpgp/tofu.scm
@@ -29,7 +29,7 @@
(define (days->seconds days) (* days 24 60 60))
;; Redefine GPG without --always-trust and a fixed time.
-(define GPG `(,(tool 'gpg) --no-permission-warning ,(faketime GPGTIME)))
+(define GPG `(,(tool 'gpg) --no-permission-warning ,(faketime 0)))
(define GNUPGHOME (getenv "GNUPGHOME"))
(if (string=? "" GNUPGHOME)
(fail "GNUPGHOME not set"))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list