diff options
| author | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
| commit | 50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (patch) | |
| tree | 6790165f39daee79e2b6c6617483320613493367 /src/tests/test-ip4-config.c | |
| parent | f408e27bccfacf347605a8d98649975a68f38a17 (diff) | |
Imported Upstream version 1.0.4 upstream/1.0.4
Diffstat (limited to 'src/tests/test-ip4-config.c')
| -rw-r--r-- | src/tests/test-ip4-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/test-ip4-config.c b/src/tests/test-ip4-config.c index 657f7e05..c8bdc75f 100644 --- a/src/tests/test-ip4-config.c +++ b/src/tests/test-ip4-config.c @@ -322,11 +322,11 @@ test_merge_subtract_mss_mtu (void) g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, expected_mtu2); nm_ip4_config_merge (cfg1, cfg3); - /* ensure again the same MSS and MTU are in cfg1 */ - g_assert_cmpuint (nm_ip4_config_get_mss (cfg1), ==, expected_mss2); - g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, expected_mtu2); + /* ensure again the MSS and MTU in cfg1 got overriden */ + g_assert_cmpuint (nm_ip4_config_get_mss (cfg1), ==, expected_mss3); + g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, expected_mtu3); - nm_ip4_config_subtract (cfg1, cfg2); + nm_ip4_config_subtract (cfg1, cfg3); /* ensure MSS and MTU are zero in cfg1 */ g_assert_cmpuint (nm_ip4_config_get_mss (cfg1), ==, 0); g_assert_cmpuint (nm_ip4_config_get_mtu (cfg1), ==, 0); |