Fix error message for future signature timestamp
authorJacob Bachmeyer <jcb@gnu.org>
Sun, 13 Nov 2022 05:38:28 +0000 (23:38 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Sun, 13 Nov 2022 05:38:28 +0000 (23:38 -0600)
gatekeeper.pl
testsuite/lib/gatekeeper.exp

index 09cadee1616d3d88958192cf958d7db3acdbab3e..385bf5a0d305f105df177342280ea0838551e888 100755 (executable)
@@ -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
index de93459ec145d55326e1f0bd7e5ba9c64a6610d7..ca56dcfe6b1b8462a66b97421207837d23974f37 100644 (file)
@@ -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