tests: Fix faked time in the TOFU test.
authorJustus Winter <justus@g10code.com>
Mon, 2 Jan 2017 15:37:02 +0000 (16:37 +0100)
committerJustus Winter <justus@g10code.com>
Mon, 2 Jan 2017 17:23:34 +0000 (18:23 +0100)
* tests/openpgp/tofu.scm (GPG): Fix time delta.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/tofu.scm

index 20c130a..cfcd5c8 100755 (executable)
@@ -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"))