Solaris regtest: final iteration for aligned_alloc

This commit is contained in:
Paul Floyd 2023-03-05 16:24:44 +01:00
parent 4ca2fa7b1f
commit afb5867858
2 changed files with 3 additions and 5 deletions

View File

@ -18,12 +18,10 @@ int main(void)
//errno = 0;
// align not power of 2
p = aligned_alloc(40, 160);
assert(p == NULL && errno == EINVAL);
assert(p);
errno = 0;
// the test below causes a segfault with musl 1.2.2
// apparently it has been
// too big
// too big aligment
if (sizeof(size_t) == 8)
{
p = aligned_alloc(16, 1UL<<48);
@ -38,4 +36,3 @@ int main(void)
}

View File

@ -1 +1,2 @@
prog: aligned_alloc
vgopts: -q