diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:25:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:25:47 +0000 |
commit | 4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d (patch) | |
tree | 26048107dbe7d72d60d9339d90f5cfe678937863 /t/keyids-complete.t | |
parent | Initial commit. (diff) | |
download | debian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.tar.xz debian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.zip |
Adding upstream version 2023.12.24.upstream/2023.12.24
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | t/keyids-complete.t | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/keyids-complete.t b/t/keyids-complete.t new file mode 100755 index 0000000..2d562b1 --- /dev/null +++ b/t/keyids-complete.t @@ -0,0 +1,19 @@ +#!/bin/sh +# Makes sure every key in debian-keyring-gpg has an entry in the +# keyids mapping file. +set -e + +fail=0 + +for keyring in debian-keyring-gpg debian-nonupload-gpg; do + cd $keyring + for key in 0x*; do + if ! grep -a -q "^$key " ../keyids; then + echo "$keyring: $key is not in keyids file." + fail=1 + fi + done + cd .. +done + +exit $fail |