Loading...
--- libmalloc/libmalloc-646.40.3/tests/malloc_realloc_large.c
+++ libmalloc/libmalloc-715.120.13/tests/malloc_realloc_large.c
@@ -76,9 +76,10 @@
"realloc HUGE smaller");
#if MALLOC_TARGET_EXCLAVES
- T_EXPECTFAIL_WITH_REASON("Exclaves don't support resizing mappings");
-#endif // MALLOC_TARGET_EXCLAVES
+ T_LOG("exclaves don't support resizing mappings, skipping realloc in-place");
+#else
T_ASSERT_EQ(ptr1, ptr2, "realloc HUGE smaller in-place");
+#endif // !MALLOC_TARGET_EXCLAVES
free(ptr2);
// Huge allocation grow in place
@@ -153,6 +154,7 @@
"realloc HUGE aligned");
free(ptr2);
}
+
T_DECL(realloc_overlap_mmap,
"Make sure that realloc in place doesn't overwrite existing mmap",