aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-06-17 15:33:33 +0000
committerEd Maste <emaste@FreeBSD.org>2025-06-17 15:52:17 +0000
commit4f33d073003ccd91390709e14e5c1bf1f0c1c85c (patch)
treeb9ddbb356a4ba9e61e1a96e3e2129568a0330f10
parent1396e87a37b6d4545d2c7579c31d81d96ba8b816 (diff)
tests: Update for jemalloc's option parsing
MALLOC_OPTIONS=J -> MALLOC_CONF=junk:true PR: 287357 Reviewed by: markj Event: Kitchener-Waterloo Hackathon 202506 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50910
-rw-r--r--bin/sh/tests/execution/func1.04
-rw-r--r--tools/regression/bpf/bpf_filter/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/sh/tests/execution/func1.0 b/bin/sh/tests/execution/func1.0
index 0dfd341f9099..bfcdd67ceb4c 100644
--- a/bin/sh/tests/execution/func1.0
+++ b/bin/sh/tests/execution/func1.0
@@ -1,3 +1,3 @@
-MALLOC_OPTIONS=J ${SH} -c 'g() { g() { :; }; :; }; g' &&
-MALLOC_OPTIONS=J ${SH} -c 'g() { unset -f g; :; }; g'
+MALLOC_CONF=junk:true ${SH} -c 'g() { g() { :; }; :; }; g' &&
+MALLOC_CONF=junk:true ${SH} -c 'g() { unset -f g; :; }; g'
diff --git a/tools/regression/bpf/bpf_filter/Makefile b/tools/regression/bpf/bpf_filter/Makefile
index a02f2cbd5710..4daecb73ebcb 100644
--- a/tools/regression/bpf/bpf_filter/Makefile
+++ b/tools/regression/bpf/bpf_filter/Makefile
@@ -63,7 +63,7 @@ all: ${TEST_CASES}
.if defined(BPF_BENCHMARK)
@-time ${.CURDIR}/${TEST}
.else
- @-env MALLOC_OPTIONS=J ${.CURDIR}/${TEST}
+ @-env MALLOC_CONF=junk:true ${.CURDIR}/${TEST}
.endif
@rm -f ${.CURDIR}/${TEST}
.endfor