test: fix zalloc max size tests

Missing from 9873d68bf1

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-06-21 14:59:58 +10:00
parent c54d81b9ec
commit ee0f44d438

View file

@ -353,13 +353,13 @@ END_TEST
START_TEST(zalloc_max_size)
{
/* Built-in alloc maximum */
free(zalloc(1024 * 1024));
free(zalloc(1536 * 1024));
}
END_TEST
START_TEST(zalloc_too_large)
{
zalloc(1024 * 1024 + 1);
zalloc(1536 * 1024 + 1);
}
END_TEST