From: Jacob Bachmeyer Date: Sun, 13 Nov 2022 05:38:28 +0000 (-0600) Subject: Fix error message for future signature timestamp X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b3407dc62f074b36ae7e273594c124d119c212b5;p=gatekeeper.git Fix error message for future signature timestamp --- diff --git a/gatekeeper.pl b/gatekeeper.pl index 09cadee..385bf5a 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -685,7 +685,7 @@ END package Local::Exception::signature_from_future; {our @ISA = qw(Local::Exception)} - sub summary { return 'directive signature timestamp from the future' } + sub summary { return 'signature timestamp from the future' } sub message { my $M = <<'END'; return join(' ', split /\n/, $M); } GPG signed upload from the future - not allowed. Please make sure your diff --git a/testsuite/lib/gatekeeper.exp b/testsuite/lib/gatekeeper.exp index de93459..ca56dcf 100644 --- a/testsuite/lib/gatekeeper.exp +++ b/testsuite/lib/gatekeeper.exp @@ -759,7 +759,7 @@ proc analyze_log { base_dir name assess } { exp_continue } -re {^gatekeeper\[[0-9]+\]: \(Test\) \[AA\]\ - directive signature timestamp from the future} { + signature timestamp from the future} { # from read_directive_file, if signature timestamp bad set A(validate,future-signature-timestamp) 1 exp_continue