Add structured exception for unknown package error and move email check
authorJacob Bachmeyer <jcb@gnu.org>
Thu, 3 Nov 2022 20:09:45 +0000 (15:09 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Thu, 3 Nov 2022 20:09:45 +0000 (15:09 -0500)
commit583953daaa4aa2c7a6d547f820da7ab8eeffe919
tree37a71f098247012452876f233cd7ac08e95edea5
parent421a03022a2630162e3d0ac215ee17a0f631cfb9
Add structured exception for unknown package error and move email check

The check for a missing per-package email list had to be moved to
validate_commands to allow the unknown package exception to be thrown.

This now makes the server misconfiguration scenario of a missing email
list distinguishable from the user error scenario of an unknown package.
The testsuite is adjusted accordingly.
gatekeeper.pl
testsuite/gatekeeper.all/01_loose.exp
testsuite/gatekeeper.all/03_triplet.exp
testsuite/lib/gatekeeper.exp