diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-09-14 05:33:34 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-09-14 06:17:04 +0200 |
commit | d5cc21475e473dd2ea3e2afdab5ad1a46533f1ea (patch) | |
tree | 8db2df227b9d47243259eaf8e21a3b5fcc6962c1 /t/keyids-complete.t | |
download | arctica-keyring-d5cc21475e473dd2ea3e2afdab5ad1a46533f1ea.tar.gz arctica-keyring-d5cc21475e473dd2ea3e2afdab5ad1a46533f1ea.tar.bz2 arctica-keyring-d5cc21475e473dd2ea3e2afdab5ad1a46533f1ea.zip |
initial commit
Diffstat (limited to 't/keyids-complete.t')
-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..1b3c3ab --- /dev/null +++ b/t/keyids-complete.t @@ -0,0 +1,19 @@ +#!/bin/sh +# Makes sure every key in arctica-*-gpg has an entry in the +# keyids mapping file. +set -e + +fail=0 + +for keyring in arctica-maintainers-gpg arctica-keyring-gpg; do + cd $keyring + for key in 0x*; do + if ! grep -q "^$key " ../keyids; then + echo "$keyring: $key is not in keyids file." + fail=1 + fi + done + cd .. +done + +exit $fail |