summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/env
diff options
context:
space:
mode:
authorjasper <>2021-09-01 09:26:32 +0000
committerjasper <>2021-09-01 09:26:32 +0000
commit15410c1fb383e330324b13897f3703fcfde7969e (patch)
tree4d38bd9b948f5f7e3335e47a697a63593c1a8153 /src/regress/lib/libc/env
parent414ce9bc403d88f0560f6570625d3116e7d18e5b (diff)
downloadopenbsd-15410c1fb383e330324b13897f3703fcfde7969e.tar.gz
openbsd-15410c1fb383e330324b13897f3703fcfde7969e.tar.bz2
openbsd-15410c1fb383e330324b13897f3703fcfde7969e.zip
remove manual fiddling with MALLOC_OPTIONS from libc regress tests
these options should be set globally (sysctl) when running regress as opposed to having individual tests set it, barring a few specific exceptions. ok bluhm@
Diffstat (limited to 'src/regress/lib/libc/env')
-rw-r--r--src/regress/lib/libc/env/envtest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libc/env/envtest.c b/src/regress/lib/libc/env/envtest.c
index f145ecbd14..79a5c0655f 100644
--- a/src/regress/lib/libc/env/envtest.c
+++ b/src/regress/lib/libc/env/envtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: envtest.c,v 1.2 2019/01/25 00:19:26 millert Exp $ */ 1/* $OpenBSD: envtest.c,v 1.3 2021/09/01 09:26:32 jasper Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2010 Todd C. Miller <millert@openbsd.org> 4 * Copyright (c) 2010 Todd C. Miller <millert@openbsd.org>
@@ -63,9 +63,6 @@ main(int argc, char *argv[])
63 int n, failures = 0; 63 int n, failures = 0;
64 size_t len, bufsize; 64 size_t len, bufsize;
65 65
66 /* Enable malloc security options. */
67 setenv("MALLOC_OPTIONS", "S", 0);
68
69 fake_env(); 66 fake_env();
70 n = count_instances("USER"); 67 n = count_instances("USER");
71 if (n != 2) { 68 if (n != 2) {