File unit-Fix-gobex-unit-tests.patch of Package bluez.17280

From 57b7d8ed80c66efb254f7e35fdd825ec977a5d9e Mon Sep 17 00:00:00 2001
From: Szymon Janc <szymon.janc@codecoup.pl>
Date: Mon, 26 Oct 2015 22:48:03 +0100
Subject: [PATCH] unit: Fix gobex unit tests

/gobex/test_header_encode_connid test name was duplicated.
This results in Glib assert:
(unit/test-gobex-header:15356): GLib-ERROR **: duplicate test
    case path: /gobex/test_header_encode_connid
---
 unit/test-gobex-header.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
index 31c49a6..8388aa9 100644
--- a/unit/test-gobex-header.c
+++ b/unit/test-gobex-header.c
@@ -553,7 +553,7 @@ int main(int argc, char *argv[])
 					test_header_encode_name_umlaut);
 	g_test_add_func("/gobex/test_header_encode_body",
 						test_header_encode_body);
-	g_test_add_func("/gobex/test_header_encode_connid",
+	g_test_add_func("/gobex/test_header_encode_actionid",
 						test_header_encode_actionid);
 	g_test_add_func("/gobex/test_header_encode_apparam",
 						test_header_encode_apparam);
-- 
2.9.3
openSUSE Build Service is sponsored by