From b3407dc62f074b36ae7e273594c124d119c212b5 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 12 Nov 2022 23:38:28 -0600 Subject: [PATCH] Fix error message for future signature timestamp --- gatekeeper.pl | 2 +- testsuite/lib/gatekeeper.exp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1