[PATCH] test: improve resiliency of malloc autotest

2025-02-07 Thread Bruce Richardson
The test case "test_multi_alloc_statistics" was brittle in that it did some allocations and frees and then checked statistics without considering the initial state of the malloc heaps. This meant that, depending on what allocations/frees were done beforehand, the test can sometimes fail. We can im

[PATCH] test: improve resiliency of malloc autotest

2025-01-17 Thread Bruce Richardson
The test case "test_multi_alloc_statistics" was brittle in that it did some allocations and frees and then checked statistics without considering the initial state of the malloc heaps. This meant that, depending on what allocations/frees were done beforehand, the test can sometimes fail. We can im