tests: New test for --delete-[secret-]keys.
authorJustus Winter <justus@g10code.com>
Mon, 19 Dec 2016 14:33:55 +0000 (15:33 +0100)
committerJustus Winter <justus@g10code.com>
Mon, 19 Dec 2016 14:42:35 +0000 (15:42 +0100)
commita1afc450e182af02ad5e6f6ba79e9dc4332ca2bc
tree71176d6fa26987e7f1df7f900f3e3c6427517856
parenta45dc0849da0d944ec8c759bc8e3e733b1eb0079
tests: New test for --delete-[secret-]keys.

* tests/openpgp/Makefile.am (XTESTS): Add new test.
* tests/openpgp/defs.scm (keys): New variable.
(have-public-key?): New function.
(have-secret-key?): Likewise.
(have-secret-key-file?): Likewise.
* tests/openpgp/delete-keys.scm: New file.
* tests/openpgp/quick-key-manipulation.scm: Move the accessors to
'defs.scm'.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/Makefile.am
tests/openpgp/defs.scm
tests/openpgp/delete-keys.scm [new file with mode: 0755]
tests/openpgp/quick-key-manipulation.scm