| 3 | #include "test/extent_hooks.h" |
| 4 | |
| 5 | static bool |
| 6 | check_background_thread_enabled(void) { |
| 7 | bool enabled; |
| 8 | size_t sz = sizeof(bool); |
| 9 | int ret = mallctl("background_thread", (void *)&enabled, &sz, NULL,0); |
| 10 | if (ret == ENOENT) { |
| 11 | return false; |
| 12 | } |
| 13 | assert_d_eq(ret, 0, "Unexpected mallctl error"); |
| 14 | return enabled; |
| 15 | } |
| 16 | |
| 17 | static void |
| 18 | test_extent_body(unsigned arena_ind) { |
no outgoing calls
no test coverage detected