mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-13 05:00:17 +01:00
ndisc/tests: relax assertion in "test-ndisc-fake.c"
Still assertion failures: ERROR:../src/ndisc/tests/test-ndisc-fake.c:375:test_preference_changed_cb: assertion failed (_a->timestamp >= _ts): (9 >= 10) (cherry picked from commita5133e708e) (cherry picked from commit75e8f4c36f)
This commit is contained in:
parent
1470212f4c
commit
80dbc0f17b
1 changed files with 1 additions and 1 deletions
|
|
@ -61,8 +61,8 @@ match_gateway (const NMNDiscData *rdata, guint idx, const char *addr, guint32 ts
|
|||
_a = &_rdata->addresses[_idx]; \
|
||||
\
|
||||
nmtst_assert_ip6_address (&_a->address, (addr)); \
|
||||
g_assert_cmpint (_a->timestamp, >=, _ts); \
|
||||
g_assert_cmpint (_a->timestamp, <=, _ts + 1); \
|
||||
g_assert_cmpint ((int) _a->timestamp, >=, (int) _ts - 1); \
|
||||
g_assert_cmpint (_a->timestamp + _a->lifetime, ==, _ts + (lt)); \
|
||||
g_assert_cmpint (_a->timestamp + _a->preferred, ==, _ts + (pref)); \
|
||||
} G_STMT_END
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue