mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 17:05:07 -05:00
test: update hash unit test
This commit is contained in:
@@ -106,7 +106,7 @@ test_unit(void)
|
||||
if (j >= tests[i].length)
|
||||
TEST_CHECK(length == tests[i].length);
|
||||
else
|
||||
TEST_CHECK(length == 0 || length == j || length == tests[i].length);
|
||||
TEST_CHECK(length == j);
|
||||
|
||||
TEST_CHECK(!memcmp(out, tests[i].out, length));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user