about summary refs log tree commit diff stats
path: root/src/custommem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/custommem.c')
-rw-r--r--src/custommem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 7c997422..448a3fcc 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -2467,7 +2467,8 @@ void loadProtectionFromMap()
             printf_log(LOG_INFO, "Didn't detect 48bits of address space, considering it's 39bits\n");
     }
     if(!pbrk) {
-        printf_log(LOG_INFO, "Warning, program break not found\n");
+        if (!box64_unittest_mode)
+            printf_log(LOG_INFO, "Warning, program break not found\n");
         if(cur_brk) pbrk = *cur_brk;    // approximate is better than nothing
     }
     fclose(f);