tests/umovestr3.c: robustify against os specific issues

* tests/umovestr3.c (main): Create extra gap before unreadable page.
This commit is contained in:
Дмитрий Левин 2016-04-27 03:18:44 +00:00
parent 12890ffda1
commit db34e195bb

View File

@ -32,6 +32,7 @@
int
main(void)
{
(void) tail_alloc(1);
const unsigned int size = 8;
const char *const p = tail_alloc(size);
const char *const efault = p + size;