tests: Rework check for trust models.
authorJustus Winter <justus@g10code.com>
Wed, 14 Dec 2016 10:45:52 +0000 (11:45 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 14 Dec 2016 15:41:18 +0000 (16:41 +0100)
commit55dc81125abc43cd3cc8db951fc3b8a81767942d
tree6f22936923d735b02595a7fbf7874a8463a9f9c5
parentd6e332422f7a8adc01a45685b067b977e28444e2
tests: Rework check for trust models.

* tests/openpgp/defs.scm (gpg-has-option?): New function.
(have-opt-always-trust): Use a simpler test for that option.  This way
that is less distracting when we run the tests with verbose=3.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/defs.scm