diff options
author | Justus Winter <[email protected]> | 2016-09-27 10:28:38 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-09-27 10:31:18 +0000 |
commit | a423603f80d9eb653ce9c171662db2175d7456f5 (patch) | |
tree | ac0e4f7f1c79e2e125880be926a161e0a6e5b0c5 /tests/gpg/t-sig-notation.c | |
parent | python: Get rid of the last C++-style comments. (diff) | |
download | gpgme-a423603f80d9eb653ce9c171662db2175d7456f5.tar.gz gpgme-a423603f80d9eb653ce9c171662db2175d7456f5.zip |
tests: Fix check for gpg versions not reporting the critical flag.
* lang/python/tests/t-sig-notation.py: Also blacklist 2.0.x.
* tests/gpg/t-sig-notation.c: Likewise.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpg/t-sig-notation.c')
-rw-r--r-- | tests/gpg/t-sig-notation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpg/t-sig-notation.c b/tests/gpg/t-sig-notation.c index aee7551f..091a26e5 100644 --- a/tests/gpg/t-sig-notation.c +++ b/tests/gpg/t-sig-notation.c @@ -151,6 +151,7 @@ main (int argc, char *argv[]) correctly. */ have_correct_sig_data = ! (strncmp ("1.", engine_info->version, 2) == 0 + || strncmp ("2.0.", version, 4) == 0 || (strncmp ("2.1.1", engine_info->version, 5) == 0 && (engine_info->version[5] == 0 || engine_info->version[5] < '3'))); |