tests: Add test suite for gpgsm.
authorJustus Winter <justus@g10code.com>
Tue, 20 Dec 2016 13:05:10 +0000 (14:05 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 20 Dec 2016 15:51:38 +0000 (16:51 +0100)
commit36c14139285982def6ad942d4b2d8bef7ed4ea76
tree076d69ec2e86225754800455e8e304b728d6b1e6
parentc067a012c764218b94ce8de2914615a895a75f3e
tests: Add test suite for gpgsm.

* configure.ac (AC_CONFIG_FILES): Add new file.
* tests/Makefile.am (SUBDIRS): Add new directory.
* tests/gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939: New file.
* tests/gpgsm/Makefile.am: Likewise.
* tests/gpgsm/cert_dfn_pca01.der: Likewise.
* tests/gpgsm/cert_dfn_pca15.der: Likewise.
* tests/gpgsm/cert_g10code_test1.der: Likewise.
* tests/gpgsm/decrypt.scm: Likewise.
* tests/gpgsm/encrypt.scm: Likewise.
* tests/gpgsm/export.scm: Likewise.
* tests/gpgsm/gpgsm-defs.scm: Likewise.
* tests/gpgsm/import.scm: Likewise.
* tests/gpgsm/plain-1.cms.asc: Likewise.
* tests/gpgsm/plain-2.cms.asc: Likewise.
* tests/gpgsm/plain-3.cms.asc: Likewise.
* tests/gpgsm/plain-large.cms.asc: Likewise.
* tests/gpgsm/run-tests.scm: Likewise.
* tests/gpgsm/setup.scm: Likewise.
* tests/gpgsm/shell.scm: Likewise.
* tests/gpgsm/sign.scm: Likewise.
* tests/gpgsm/verify.scm: Likewise.
--
The certificates and keys are taken from GPGME's test suite.

Signed-off-by: Justus Winter <justus@g10code.com>
21 files changed:
configure.ac
tests/Makefile.am
tests/gpgsm/32100C27173EF6E9C4E9A25D3D69F86D37A4F939 [new file with mode: 0644]
tests/gpgsm/Makefile.am [new file with mode: 0644]
tests/gpgsm/cert_dfn_pca01.der [new file with mode: 0644]
tests/gpgsm/cert_dfn_pca15.der [new file with mode: 0644]
tests/gpgsm/cert_g10code_test1.der [new file with mode: 0644]
tests/gpgsm/decrypt.scm [new file with mode: 0644]
tests/gpgsm/encrypt.scm [new file with mode: 0644]
tests/gpgsm/export.scm [new file with mode: 0644]
tests/gpgsm/gpgsm-defs.scm [new file with mode: 0644]
tests/gpgsm/import.scm [new file with mode: 0644]
tests/gpgsm/plain-1.cms.asc [new file with mode: 0644]
tests/gpgsm/plain-2.cms.asc [new file with mode: 0644]
tests/gpgsm/plain-3.cms.asc [new file with mode: 0644]
tests/gpgsm/plain-large.cms.asc [new file with mode: 0644]
tests/gpgsm/run-tests.scm [new file with mode: 0644]
tests/gpgsm/setup.scm [new file with mode: 0644]
tests/gpgsm/shell.scm [new file with mode: 0644]
tests/gpgsm/sign.scm [new file with mode: 0644]
tests/gpgsm/verify.scm [new file with mode: 0644]