[gnome-keyring] egg: Make sure names for encode-decode tests are different



commit cc0d05adb11f1bcbc9a8be33a29a34cd20a9a57f
Author: Dmitry Shachnev <mitya57 ubuntu com>
Date:   Wed Sep 30 14:46:44 2015 +0300

    egg: Make sure names for encode-decode tests are different
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755873

 egg/test-asn1x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/egg/test-asn1x.c b/egg/test-asn1x.c
index fd347e2..f41c630 100644
--- a/egg/test-asn1x.c
+++ b/egg/test-asn1x.c
@@ -186,7 +186,7 @@ main (int argc, char **argv)
        g_test_init (&argc, &argv, NULL);
 
        for (i = 0; i < G_N_ELEMENTS (parse_test_fixtures); i++) {
-               name = g_strdup_printf ("/asn1x/encode-decode-%s", parse_test_fixtures[i].identifier);
+               name = g_strdup_printf ("/asn1x/encode-decode-%d-%s", i, parse_test_fixtures[i].identifier);
                g_test_add (name, Test, &parse_test_fixtures[i], setup_parsing, test_decode_encode, teardown);
                g_free (name);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]