diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-04-20 13:40:39 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-04-24 07:16:46 -0300 |
| commit | 22ec4a36e60052b7de70a7b88df212ccaf249374 (patch) | |
| tree | d409a99d636727c4fa73b87425414b67c9105557 /test/test-lib.sh | |
| parent | 816633e636d7d512506105632c98c10c587f8890 (diff) | |
tests: move FINGERPRINT definition to add_gnupg_home
If a test has added a GnuPG homedir, it may well want to know the
fingerprint. This saves us from having to redefine this magic string
in multiple places when more tests eventually use the GnuPG homedir.
Diffstat (limited to 'test/test-lib.sh')
| -rw-r--r-- | test/test-lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index fca5277d..58909ee7 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -117,6 +117,9 @@ add_gnupg_home () echo debug-quick-random >> "$GNUPGHOME"/gpg.conf fi echo no-emit-version >> "$GNUPGHOME"/gpg.conf + + # Change this if we ship a new test key + FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381" } # Each test should start with something like this, after copyright notices: |
