[git] GPGME - branch, master, updated. gpgme-1.7.0-20-ga6e9eef

by Justus Winter cvs at cvs.gnupg.org
Tue Sep 27 12:51:24 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  a6e9eefb23e57e14afaead5c896452360bdaeb6f (commit)
      from  145392f07f42ef23ebcb83a917b4d8e2964e7aa8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a6e9eefb23e57e14afaead5c896452360bdaeb6f
Author: Justus Winter <justus at g10code.com>
Date:   Tue Sep 27 12:49:24 2016 +0200

    tests: Fix blunder.
    
    --
    Fixes-commit: a423603f
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/lang/python/tests/t-sig-notation.py b/lang/python/tests/t-sig-notation.py
index 68f9c08..eb5b111 100755
--- a/lang/python/tests/t-sig-notation.py
+++ b/lang/python/tests/t-sig-notation.py
@@ -36,7 +36,7 @@ expected_notations = {
 with core.Context() as c:
     version = c.engine_info.version
     have_correct_sig_data = not (version.startswith("1.")
-                                 version.startswith("2.0.")
+                                 or version.startswith("2.0.")
                                  or version == "2.1.1"
                                  or (version.startswith("2.1.1")
                                      and version[5] < '3'))
diff --git a/tests/gpg/t-sig-notation.c b/tests/gpg/t-sig-notation.c
index 091a26e..052e179 100644
--- a/tests/gpg/t-sig-notation.c
+++ b/tests/gpg/t-sig-notation.c
@@ -151,7 +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.0.", engine_info->version, 4) == 0
        || (strncmp ("2.1.1", engine_info->version, 5) == 0
            && (engine_info->version[5] == 0
                || engine_info->version[5] < '3')));

-----------------------------------------------------------------------

Summary of changes:
 lang/python/tests/t-sig-notation.py | 2 +-
 tests/gpg/t-sig-notation.c          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list