aboutsummaryrefslogtreecommitdiff
path: root/test/integration/cpp/infallible_new_false.sh
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-02-05 23:20:13 +0000
committerWarner Losh <imp@FreeBSD.org>2025-02-05 23:20:13 +0000
commit48ec896efb0b78141df004eaa21288b84590c9da (patch)
tree33799792fd95c266d472ab1ae51d50ab4f942eb3 /test/integration/cpp/infallible_new_false.sh
parentd28d7fbede216494aa3942af042cc084fcd6098a (diff)
Diffstat (limited to 'test/integration/cpp/infallible_new_false.sh')
-rw-r--r--test/integration/cpp/infallible_new_false.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/cpp/infallible_new_false.sh b/test/integration/cpp/infallible_new_false.sh
new file mode 100644
index 000000000000..7d41812ce3a4
--- /dev/null
+++ b/test/integration/cpp/infallible_new_false.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+XMALLOC_STR=""
+if [ "x${enable_xmalloc}" = "x1" ] ; then
+ XMALLOC_STR="xmalloc:false,"
+fi
+
+export MALLOC_CONF="${XMALLOC_STR}experimental_infallible_new:false"