[glibc] tests: misc: Use new tunable handling

Yury Khrustalev via Glibc-cvs <[email protected]>
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d24b6b046c0ab7c4651f53c406cc7f4a033710bf

commit d24b6b046c0ab7c4651f53c406cc7f4a033710bf
Author: Yury Khrustalev <[email protected]>
Date:   Thu Apr 16 14:50:17 2026 +0100

    tests: misc: Use new tunable handling
    
    Use new way of handling test tunables in the misc folder.
    
    Reviewed-by: Adhemerval Zanella  <[email protected]>

Diff:
---
 misc/Makefile                    | 4 ++--
 sysdeps/unix/sysv/linux/Makefile | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/misc/Makefile b/misc/Makefile
index 4395366d74..3ebba61da6 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -374,8 +374,8 @@ $(objpfx)tst-allocate_once-mem.out: $(objpfx)tst-allocate_once.out
 	$(common-objpfx)malloc/mtrace $(objpfx)tst-allocate_once.mtrace > $@; \
 	$(evaluate-test)
 
-tst-syslog-long-progname-ENV = GLIBC_TUNABLES=glibc.malloc.check=3 \
-			       LD_PRELOAD=libc_malloc_debug.so.0
+tst-syslog-long-progname-ENV = LD_PRELOAD=libc_malloc_debug.so.0
+tst-syslog-long-progname-TUNABLES += glibc.malloc.check=3
 
 $(objpfx)tst-select: $(librt)
 $(objpfx)tst-select-time64: $(librt)
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 0d47e9af57..63e7046cb3 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -413,8 +413,8 @@ $(objpfx)tst-sched-consts.out: ../sysdeps/unix/sysv/linux/tst-sched-consts.py
 	  < /dev/null > $@ 2>&1; $(evaluate-test)
 $(objpfx)tst-sched-consts.out: $(sysdeps-linux-python-deps)
 
-tst-rseq-disable-ENV = GLIBC_TUNABLES=glibc.pthread.rseq=0
-tst-rseq-disable-static-ENV = GLIBC_TUNABLES=glibc.pthread.rseq=0
+tst-rseq-disable-TUNABLES += glibc.pthread.rseq=0
+tst-rseq-disable-static-TUNABLES += glibc.pthread.rseq=0
 
 endif # $(subdir) == misc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.