Date: Sat, 07 Jun 2025 12:57:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 287357] Deprecated MALLOC_OPTIONS is used in some tests Message-ID: <bug-287357-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287357 Bug ID: 287357 Summary: Deprecated MALLOC_OPTIONS is used in some tests Product: Base System Version: 14.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: rozhuk.im@gmail.com MALLOC_OPTIONS was exist before FreeBSD 10, but still found in sources of stable/14 # grep -rsp "MALLOC_OPTIONS" /usr/src/ /usr/src/bin/sh/tests/execution/func1.0:MALLOC_OPTIONS=J ${SH} -c 'g() { g() { :; }; :; }; g' && /usr/src/bin/sh/tests/execution/func1.0:MALLOC_OPTIONS=J ${SH} -c 'g() { unset -f g; :; }; g' /usr/src/contrib/bmake/unit-tests/Makefile:MAKE_TEST_ENV+= MALLOC_OPTIONS="JA" # for jemalloc 100 /usr/src/contrib/bmake/unit-tests/dep-colon-bug-cross-file.mk:# on NetBSD 8.0 x86_64 with MALLOC_OPTIONS=JA produces this or a similar /usr/src/contrib/bmake/unit-tests/opt-file.mk:# | MALLOC_OPTIONS="JA" \ /usr/src/contrib/netbsd-tests/usr.bin/diff/t_diff.sh: atf_set "descr" "Test diff(1) with MALLOC_OPTIONS=V (cf. PR bin/26453)" /usr/src/contrib/netbsd-tests/usr.bin/diff/t_diff.sh: -x "env MALLOC_OPTIONS=V diff " \ /usr/src/contrib/netbsd-tests/usr.bin/diff/t_diff.sh: atf_set "descr" "Test diff(1) with no MALLOC_OPTIONS=V" /usr/src/crypto/openssh/regress/unittests/Makefile.inc:MALLOC_OPTIONS?= CFGJRSUX /usr/src/crypto/openssh/regress/unittests/Makefile.inc:TEST_ENV?= MALLOC_OPTIONS=${MALLOC_OPTIONS} /usr/src/crypto/openssh/regress/Makefile:TEST_ENV= "MALLOC_OPTIONS=CFGJRSUX" /usr/src/crypto/openssh/regress/connect-privsep.sh:if [ -z "$TEST_MALLOC_OPTIONS" ]; then /usr/src/crypto/openssh/regress/connect-privsep.sh: mopts=`echo $TEST_MALLOC_OPTIONS | sed 's/./& /g'` /usr/src/crypto/openssh/regress/connect-privsep.sh: env MALLOC_OPTIONS="$m" ${SSH} -F $OBJ/ssh_proxy 999.999.999.999 true /usr/src/crypto/openssh/Makefile.in: TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ /usr/src/crypto/openssh/Makefile.in: TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ /usr/src/crypto/openssh/configure.ac: TEST_MALLOC_OPTIONS="AFGJPRX" /usr/src/crypto/openssh/configure.ac: TEST_MALLOC_OPTIONS="AJRX" /usr/src/crypto/openssh/configure.ac: TEST_MALLOC_OPTIONS="AJRX" /usr/src/crypto/openssh/configure.ac: TEST_MALLOC_OPTIONS="SJRU" /usr/src/crypto/openssh/configure.ac:AC_SUBST([TEST_MALLOC_OPTIONS], [$TEST_MALLOC_OPTIONS]) /usr/src/share/doc/papers/malloc/implementation.ms:.B MALLOC_OPTIONS /usr/src/tools/regression/bpf/bpf_filter/Makefile: @-env MALLOC_OPTIONS=J ${.CURDIR}/${TEST} /usr/src/usr.bin/bmake/unit-tests/Makefile:MAKE_TEST_ENV+= MALLOC_OPTIONS="JA" # for jemalloc 100 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287357-227>
