aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/tofu.scm
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-01-02 15:37:02 +0000
committerJustus Winter <[email protected]>2017-01-02 17:23:34 +0000
commit6d065198337b5242889723481bfa9ce81aa108bb (patch)
tree5624df49213c9943def742355e35cc61d96701c8 /tests/openpgp/tofu.scm
parentg13: Improve printing of debug infos. (diff)
downloadgnupg-6d065198337b5242889723481bfa9ce81aa108bb.tar.gz
gnupg-6d065198337b5242889723481bfa9ce81aa108bb.zip
tests: Fix faked time in the TOFU test.
* tests/openpgp/tofu.scm (GPG): Fix time delta. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/openpgp/tofu.scm')
-rwxr-xr-xtests/openpgp/tofu.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/tofu.scm b/tests/openpgp/tofu.scm
index 20c130a15..cfcd5c89d 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"))