mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 04:10:04 +01: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)
|
||||
{
|
||||
/* 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue