Fix test_stats_arenas_bins for 32-bit builds.
This commit is contained in:
parent
879e76a9e5
commit
f79e01f75b
@ -327,6 +327,7 @@ TEST_BEGIN(test_stats_arenas_bins)
|
|||||||
assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", &curregs, &sz,
|
assert_d_eq(mallctl("stats.arenas.0.bins.0.curregs", &curregs, &sz,
|
||||||
NULL, 0), expected, "Unexpected mallctl() result");
|
NULL, 0), expected, "Unexpected mallctl() result");
|
||||||
|
|
||||||
|
sz = sizeof(uint64_t);
|
||||||
assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz,
|
assert_d_eq(mallctl("stats.arenas.0.bins.0.nfills", &nfills, &sz,
|
||||||
NULL, 0), config_tcache ? expected : ENOENT,
|
NULL, 0), config_tcache ? expected : ENOENT,
|
||||||
"Unexpected mallctl() result");
|
"Unexpected mallctl() result");
|
||||||
|
Loading…
Reference in New Issue
Block a user