aboutsummaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/stacktrace/stacktrace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespamalloc/src/tests/stacktrace/stacktrace.cpp')
-rw-r--r--vespamalloc/src/tests/stacktrace/stacktrace.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vespamalloc/src/tests/stacktrace/stacktrace.cpp b/vespamalloc/src/tests/stacktrace/stacktrace.cpp
index 40d77b20e27..2592222fce3 100644
--- a/vespamalloc/src/tests/stacktrace/stacktrace.cpp
+++ b/vespamalloc/src/tests/stacktrace/stacktrace.cpp
@@ -1,4 +1,4 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <cstdlib>
#include <pthread.h>
#include <dlfcn.h>
@@ -29,7 +29,7 @@ void verify_that_vespamalloc_datasegment_size_exists() {
assert(info.ordblks == 0);
assert(info.smblks == 0);
assert(info.uordblks > 0);
- assert(info.usmblks == 0);
+ assert(info.usmblks > 0);
#else
struct mallinfo info = mallinfo();
printf("Malloc used %dm of memory\n",info.arena);
@@ -43,7 +43,7 @@ void verify_that_vespamalloc_datasegment_size_exists() {
assert(info.ordblks == 0);
assert(info.smblks == 0);
assert(info.uordblks > 0);
- assert(info.usmblks == 0);
+ assert(info.usmblks > 0);
#endif
}