aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-12-08 13:43:21 -0800
committerQi Wang <interwq@gmail.com>2017-12-08 22:22:03 -0800
commitb5ab3f91ea60b16819563b09aa01a0d339aa40b4 (patch)
tree5fd664538376dabeeec8f6cdae7f78e96c4b6cf4 /test
parent6e841f618a5ff99001a9578e9ff73602e7a94620 (diff)
downloadjemalloc_new-b5ab3f91ea60b16819563b09aa01a0d339aa40b4.tar.gz
Fix test/integration/extent.
Should only run the hook tests without background threads. This was introduced in 6e841f6.
Diffstat (limited to 'test')
-rw-r--r--test/integration/extent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/extent.c b/test/integration/extent.c
index 7100b6af..c2dc1cb8 100644
--- a/test/integration/extent.c
+++ b/test/integration/extent.c
@@ -140,7 +140,7 @@ test_manual_hook_body(void) {
assert_ptr_ne(old_hooks->merge, extent_merge_hook,
"Unexpected extent_hooks error");
- if (check_background_thread_enabled()) {
+ if (!check_background_thread_enabled()) {
test_extent_body(arena_ind);
}