[PATCH v2 0/4] Add tests for the PGP trust model
Damien Goutte-Gattat
dgouttegattat at incenp.org
Wed Jul 19 22:17:26 CEST 2017
On 07/19/2017 12:52 PM, Justus Winter wrote:
> Why not move the common definitions to a separate file, and
> split this test into four.
OK, I have done just that. Thanks for the suggestion, I believe
it is indeed much cleaner this way.
For convenience, here is the whole patchset again.
Note that I have again included the patch about regexp
sanitization, even though we have yet to decide about the best
way to fix this issue. If you prefer not to apply that patch
yet, we would have to either
1) disable the corresponding test trust-pgp-4.scm, or
2) mark it as a test that should fail, or
3) accept that 'make check' fails until issue 2923 is fixed
one way or another. :)
Damien Goutte-Gattat (4):
gpgconf: Make WoT settings configurable by gpgconf.
gpg,tests: Move some functions into a common module.
gpg,tests: Add tests for the PGP trust model.
gpg: Fix regexp sanitization.
g10/gpg.c | 3 ++
g10/trustdb.c | 2 +-
tests/openpgp/Makefile.am | 19 +++++++-
tests/openpgp/defs.scm | 24 ++++++++++
tests/openpgp/tofu.scm | 24 ----------
tests/openpgp/trust-pgp-1.scm | 76 +++++++++++++++++++++++++++++++
tests/openpgp/trust-pgp-2.scm | 39 ++++++++++++++++
tests/openpgp/trust-pgp-3.scm | 31 +++++++++++++
tests/openpgp/trust-pgp-4.scm | 37 +++++++++++++++
tests/openpgp/trust-pgp/alice.sec.asc | 11 +++++
tests/openpgp/trust-pgp/bobby.sec.asc | 11 +++++
tests/openpgp/trust-pgp/carol.sec.asc | 11 +++++
tests/openpgp/trust-pgp/common.scm | 66 +++++++++++++++++++++++++++
tests/openpgp/trust-pgp/david.sec.asc | 11 +++++
tests/openpgp/trust-pgp/frank.sec.asc | 11 +++++
tests/openpgp/trust-pgp/grace.sec.asc | 11 +++++
tests/openpgp/trust-pgp/heidi.sec.asc | 11 +++++
tests/openpgp/trust-pgp/scenario1.asc | 75 +++++++++++++++++++++++++++++++
tests/openpgp/trust-pgp/scenario2.asc | 70 +++++++++++++++++++++++++++++
tests/openpgp/trust-pgp/scenario3.asc | 58 ++++++++++++++++++++++++
tests/openpgp/trust-pgp/scenario4.asc | 84 +++++++++++++++++++++++++++++++++++
tools/gpgconf-comp.c | 12 +++++
22 files changed, 670 insertions(+), 27 deletions(-)
create mode 100755 tests/openpgp/trust-pgp-1.scm
create mode 100755 tests/openpgp/trust-pgp-2.scm
create mode 100755 tests/openpgp/trust-pgp-3.scm
create mode 100755 tests/openpgp/trust-pgp-4.scm
create mode 100644 tests/openpgp/trust-pgp/alice.sec.asc
create mode 100644 tests/openpgp/trust-pgp/bobby.sec.asc
create mode 100644 tests/openpgp/trust-pgp/carol.sec.asc
create mode 100644 tests/openpgp/trust-pgp/common.scm
create mode 100644 tests/openpgp/trust-pgp/david.sec.asc
create mode 100644 tests/openpgp/trust-pgp/frank.sec.asc
create mode 100644 tests/openpgp/trust-pgp/grace.sec.asc
create mode 100644 tests/openpgp/trust-pgp/heidi.sec.asc
create mode 100644 tests/openpgp/trust-pgp/scenario1.asc
create mode 100644 tests/openpgp/trust-pgp/scenario2.asc
create mode 100644 tests/openpgp/trust-pgp/scenario3.asc
create mode 100644 tests/openpgp/trust-pgp/scenario4.asc
--
2.9.0
More information about the Gnupg-devel
mailing list