From 6d065198337b5242889723481bfa9ce81aa108bb Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 2 Jan 2017 16:37:02 +0100 Subject: [PATCH] tests: Fix faked time in the TOFU test. * tests/openpgp/tofu.scm (GPG): Fix time delta. Signed-off-by: Justus Winter --- 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 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"))