]> sourceware.org Git - glibc.git/commitdiff
tst-rtld-list-tunables.sh: Unset glibc tunables
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 2 Feb 2021 17:31:56 +0000 (09:31 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 2 Feb 2021 18:12:47 +0000 (10:12 -0800)
Unset glibc tunables and their aliases for --list-tunables test.

elf/tst-rtld-list-tunables.sh

index e7bbdde94952b8720eb91a16a564915fc085c256..78f4ed2ebbd3db2cae9e618adc1c2e92d41851ea 100755 (executable)
@@ -26,6 +26,17 @@ run_program_env=$3
 LC_ALL=C
 export LC_ALL
 
+# Unset tunables and their aliases.
+GLIBC_TUNABLES=
+MALLOC_ARENA_MAX=
+MALLOC_ARENA_TEST=
+MALLOC_CHECK_=
+MALLOC_MMAP_MAX_=
+MALLOC_MMAP_THRESHOLD_=
+MALLOC_PERTURB_=
+MALLOC_TOP_PAD_=
+MALLOC_TRIM_THRESHOLD_=
+
 ${test_wrapper_env} \
 ${run_program_env} \
 $rtld --list-tunables \
This page took 0.046742 seconds and 5 git commands to generate.