summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2017-12-08 21:43:21 (GMT)
committerQi Wang <interwq@gmail.com>2017-12-09 06:22:03 (GMT)
commitb5ab3f91ea60b16819563b09aa01a0d339aa40b4 (patch)
tree5fd664538376dabeeec8f6cdae7f78e96c4b6cf4
parent6e841f618a5ff99001a9578e9ff73602e7a94620 (diff)
downloadjemalloc-b5ab3f91ea60b16819563b09aa01a0d339aa40b4.zip
jemalloc-b5ab3f91ea60b16819563b09aa01a0d339aa40b4.tar.gz
jemalloc-b5ab3f91ea60b16819563b09aa01a0d339aa40b4.tar.bz2
Fix test/integration/extent.
Should only run the hook tests without background threads. This was introduced in 6e841f6.
-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 7100b6a..c2dc1cb 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);
}