diff options
| author | Jason Evans <jasone@canonware.com> | 2017-07-02 00:44:01 (GMT) |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2017-07-02 00:44:01 (GMT) |
| commit | 896ed3a8b3f41998d4fb4d625d30ac63ef2d51fb (patch) | |
| tree | b335c987c7861f6934b860e14587676208aeee48 /test/integration/extent.c | |
| parent | 5018fe3f0979b7f9db9930accdf7ee31071fd703 (diff) | |
| parent | 284edf02b0de3231357497cf0367f6f64ab07cd8 (diff) | |
| download | jemalloc-5.0.1.zip jemalloc-5.0.1.tar.gz jemalloc-5.0.1.tar.bz2 | |
Merge branch 'dev'5.0.1
Diffstat (limited to 'test/integration/extent.c')
| -rw-r--r-- | test/integration/extent.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/extent.c b/test/integration/extent.c index 7262b80..1dcf217 100644 --- a/test/integration/extent.c +++ b/test/integration/extent.c @@ -39,10 +39,13 @@ test_extent_body(unsigned arena_ind) { assert_d_eq(mallctlnametomib("arena.0.purge", purge_mib, &purge_miblen), 0, "Unexpected mallctlnametomib() failure"); purge_mib[1] = (size_t)arena_ind; + called_alloc = false; + try_alloc = true; try_dalloc = false; try_decommit = false; p = mallocx(large0 * 2, flags); assert_ptr_not_null(p, "Unexpected mallocx() error"); + assert_true(called_alloc, "Expected alloc call"); called_dalloc = false; called_decommit = false; did_purge_lazy = false; |
