mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
tests: Fix faked time in the TOFU test.
* tests/openpgp/tofu.scm (GPG): Fix time delta. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
5b6ebfb924
commit
6d06519833
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user