aboutsummaryrefslogtreecommitdiff
path: root/test/unit/junk.sh
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-12-01 05:20:11 +0000
committerWarner Losh <imp@FreeBSD.org>2024-12-01 06:35:12 +0000
commitd4d6bda0bc7998e1944274878691d4dc636cec7d (patch)
tree7043cc182d2e4bfd4f07aba8f6c36dcd68708ba4 /test/unit/junk.sh
jemalloc: Import version 5.2.1vendor/jemalloc/5.2.1
Create a new vendor branch for jemalloc, using the following for future reference: % git worktree add --orphan -b vendor/jemalloc ../vendors/jemalloc % cd ../vendors/jemalloc % git checkout -b vendor/jemalloc % cd ../../upstreams % git clone git@github.com:jemalloc/jemalloc.git % cd jemalloc % git checkout 5.2.1 # hash ea6b3e973b477b8061e0076bb257dbd7f3faa756 % cp -r * ../../vendors/jemalloc % cd ../../vendors/jemalloc % autoconf % ./configure --enable-autoconf --with-version=5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756 % git add * % git commit -m<this message> % git tag -a vendor/jemalloc/5.2.1 % git push --follow --set-upstream freebsd vendor/jemalloc Note: This purposely doesn't thin the vendor branch. That will be done in the next step to create the merge commit that boostraps future imports. Sponsored by: Netflix
Diffstat (limited to 'test/unit/junk.sh')
-rw-r--r--test/unit/junk.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/junk.sh b/test/unit/junk.sh
new file mode 100644
index 000000000000..97cd8ca5ef60
--- /dev/null
+++ b/test/unit/junk.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${enable_fill}" = "x1" ] ; then
+ export MALLOC_CONF="abort:false,zero:false,junk:true"
+fi