summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2021-09-02 07:14:16 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2021-09-02 07:14:16 +0000
commit9a80d3ffb06867cd309603d7d1277733dfaf907f (patch)
tree2af3a1fe8838499f834a2c6b88b371c38eb93ade /share/man/man5
parentb167ced1561d8c6ad872c2522b1894f9a5b37f48 (diff)
regress tests shouldn't set or modify MALLOC_OPTIONS unless they're actually very specific behaviour
document this accordingly in the guidelines section of the manpage ok bluhm@
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/bsd.regress.mk.512
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man5/bsd.regress.mk.5 b/share/man/man5/bsd.regress.mk.5
index 81597a26e7b..cece02e439f 100644
--- a/share/man/man5/bsd.regress.mk.5
+++ b/share/man/man5/bsd.regress.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.regress.mk.5,v 1.21 2019/07/09 15:01:08 espie Exp $
+.\" $OpenBSD: bsd.regress.mk.5,v 1.22 2021/09/02 07:14:15 jasper Exp $
.\"
.\" Copyright (c) 2002 Anil Madhavapeddy
.\" Copyright (c) 2000 Marc Espie
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 9 2019 $
+.Dd $Mdocdate: September 2 2021 $
.Dt BSD.REGRESS.MK 5
.Os
.Sh NAME
@@ -206,6 +206,14 @@ The
tree can be found with a relative path or with the
.Ev BSDSRCDIR
variable.
+.Pp
+Tests should generally not set or modify
+.Ev MALLOC_OPTIONS
+unless it is testing specific behaviour that depends on a particular
+flag or combination of flags.
+When running tests the approciate sysctl
+.Pq vm.malloc_conf
+could be used instead.
.Sh SEE ALSO
.Xr bsd.port.mk 5
.Sh HISTORY