mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 04:00:17 +01:00
libnm/tests: check for identical team config in _team_config_equal_check()
This commit is contained in:
parent
9b0dee8e9c
commit
49dbdae00a
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue