From 49dbdae00a15b7f2eaf5067331f8601b741ced45 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 12 May 2019 11:16:55 +0200 Subject: [PATCH] libnm/tests: check for identical team config in _team_config_equal_check() --- libnm-core/tests/test-general.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libnm-core/tests/test-general.c b/libnm-core/tests/test-general.c index a6abf39160..20736fb2d8 100644 --- a/libnm-core/tests/test-general.c +++ b/libnm-core/tests/test-general.c @@ -6807,6 +6807,11 @@ _team_config_equal_check (const char *conf1, gboolean port_config, gboolean expected) { + if (!nm_streq0 (conf1, conf2)) { + _team_config_equal_check (conf1, conf1, port_config, TRUE); + _team_config_equal_check (conf2, conf2, port_config, TRUE); + } + g_assert_cmpint (_nm_utils_team_config_equal (conf1, conf2, port_config), ==, expected); }