mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-07 20:08:19 +02:00
test: fix zalloc max size tests
Missing from 9873d68bf1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c54d81b9ec
commit
ee0f44d438
1 changed files with 2 additions and 2 deletions
|
|
@ -353,13 +353,13 @@ END_TEST
|
||||||
START_TEST(zalloc_max_size)
|
START_TEST(zalloc_max_size)
|
||||||
{
|
{
|
||||||
/* Built-in alloc maximum */
|
/* Built-in alloc maximum */
|
||||||
free(zalloc(1024 * 1024));
|
free(zalloc(1536 * 1024));
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
START_TEST(zalloc_too_large)
|
START_TEST(zalloc_too_large)
|
||||||
{
|
{
|
||||||
zalloc(1024 * 1024 + 1);
|
zalloc(1536 * 1024 + 1);
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue