179894
commit d2d12c7a988a9a04aec23b5e4af549db61b0a005
179894
Author: H.J. Lu <hjl.tools@gmail.com>
179894
Date:   Tue Feb 2 09:31:56 2021 -0800
179894
179894
    tst-rtld-list-tunables.sh: Unset glibc tunables
179894
    
179894
    Unset glibc tunables and their aliases for --list-tunables test.
179894
179894
diff --git a/elf/tst-rtld-list-tunables.sh b/elf/tst-rtld-list-tunables.sh
179894
index e7bbdde94952b872..78f4ed2ebbd3db2c 100755
179894
--- a/elf/tst-rtld-list-tunables.sh
179894
+++ b/elf/tst-rtld-list-tunables.sh
179894
@@ -26,6 +26,17 @@ run_program_env=$3
179894
 LC_ALL=C
179894
 export LC_ALL
179894
 
179894
+# Unset tunables and their aliases.
179894
+GLIBC_TUNABLES=
179894
+MALLOC_ARENA_MAX=
179894
+MALLOC_ARENA_TEST=
179894
+MALLOC_CHECK_=
179894
+MALLOC_MMAP_MAX_=
179894
+MALLOC_MMAP_THRESHOLD_=
179894
+MALLOC_PERTURB_=
179894
+MALLOC_TOP_PAD_=
179894
+MALLOC_TRIM_THRESHOLD_=
179894
+
179894
 ${test_wrapper_env} \
179894
 ${run_program_env} \
179894
 $rtld --list-tunables \