Loading...
--- libmalloc/libmalloc-474.0.13/tests/xzone.c
+++ libmalloc/libmalloc-521.100.59/tests/xzone.c
@@ -1,5 +1,7 @@
 #include <darwintest.h>
 #include <darwintest_utils.h>
+
+#include <malloc_private.h>
 
 #include "../src/platform.h"
 
@@ -36,3 +38,10 @@
 {
 	T_PASS("Successfully booted the OS with xzone malloc enabled system-wide");
 }
+
+T_DECL(xzone_debug_dylib, "Ensure xzone malloc tests run with debug dylib",
+		T_META_TAG_XZONE_ONLY)
+{
+	T_ASSERT_TRUE(malloc_variant_is_debug_4test(),
+			"Test is running with the debug dylib");
+}