diff options
Diffstat (limited to 'test/lib/common.bash')
-rw-r--r-- | test/lib/common.bash | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/lib/common.bash b/test/lib/common.bash index 1a16ae0..90b6f04 100644 --- a/test/lib/common.bash +++ b/test/lib/common.bash @@ -1,6 +1,6 @@ #!/hint/bash -if [[ -z $LIBRETOOLS_LIBDIR || -z $_librelib_conf_sh_sysconfdir || -z $_librelib_conf_sh_pkgconfdir ]]; then +if [[ -z $LIBRETOOLS_LIBRARY_PATH || -z $_librelib_conf_sh_sysconfdir || -z $_librelib_conf_sh_pkgconfdir ]]; then libremessages error 'Must be run with ./testenv' exit 1 fi @@ -26,10 +26,15 @@ common_setup() { mkdir -p -- "$GNUPGHOME" chmod 700 -- "$GNUPGHOME" gpg --quiet --no-tty --batch --gen-key <<-eot - Key-Type: default + Key-Type: DSA + Key-Length: 1024 + Subkey-Type: ECDSA + Subkey-Curve: nistp256 + Key-Usage: sign Name-Real: Bob Tester Name-Email: tester@localhost + Expire-Date: 0 %no-protection %commit |