aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-sig-notation.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-09-27 10:28:38 +0000
committerJustus Winter <[email protected]>2016-09-27 10:31:18 +0000
commita423603f80d9eb653ce9c171662db2175d7456f5 (patch)
treeac0e4f7f1c79e2e125880be926a161e0a6e5b0c5 /tests/gpg/t-sig-notation.c
parentpython: Get rid of the last C++-style comments. (diff)
downloadgpgme-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.c1
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')));