Add additional file signature check to ensure proper staging master
authorJacob Bachmeyer <jcb@gnu.org>
Sat, 16 Sep 2023 00:38:24 +0000 (19:38 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sat, 16 Sep 2023 00:38:24 +0000 (19:38 -0500)
commitbe5138a1dddd26502adc60bdb007106659727d76
tree0befa0b59475b218559c1f83d38e625eab54c84c
parented03d9e19fff0ea8f7d1364c0de5367fa7952dea
Add additional file signature check to ensure proper staging

There is a (very remote) possibility of the uploaded file being corrupted
while transferring it from the scratch directory to the staging directory,
since this transfer can actually copy data instead of being a simple
rename(2) call.  This commit adds a safeguard against this risk by
rechecking the detached signature after the file pair is moved.

The testsuite is updated accordingly.
gatekeeper.pl
testsuite/lib/tool/gatekeeper.exp