summaryrefslogtreecommitdiffstats
path: root/test/unit/junk_alloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Use MALLOC_CONF rather than malloc_conf for tests.Jason Evans2017-02-231-2/+0
| | | | | | | | | malloc_conf does not reliably work with MSVC, which complains of "inconsistent dll linkage", i.e. its inability to support the application overriding malloc_conf when dynamically linking/loading. Work around this limitation by adding test harness support for per test shell script sourcing, and converting all tests to use MALLOC_CONF instead of malloc_conf.
* Fix style nits.Jason Evans2016-04-171-1/+1
|
* Introduce two new modes of junk filling: "alloc" and "free".Guilherme Goncalves2014-12-151-0/+3
In addition to true/false, opt.junk can now be either "alloc" or "free", giving applications the possibility of junking memory only on allocation or deallocation. This resolves #172.