mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Solaris regtest: final iteration for aligned_alloc
This commit is contained in:
parent
4ca2fa7b1f
commit
afb5867858
@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1 +1,2 @@
|
||||
prog: aligned_alloc
|
||||
vgopts: -q
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user