aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-06-22 14:27:15 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-06-22 14:31:40 +0530
commit568123a720dce896dcd0ac8f7c8ebfe20a8a6adb (patch)
tree99ac743f1f174b18c5c36044a175e8b4e65ebde7 /malloc
parent412b05fec9323a093fe271ae01b4083ea2d1fc1f (diff)
downloadglibc-568123a720dce896dcd0ac8f7c8ebfe20a8a6adb.zip
glibc-568123a720dce896dcd0ac8f7c8ebfe20a8a6adb.tar.gz
glibc-568123a720dce896dcd0ac8f7c8ebfe20a8a6adb.tar.bz2
tst-mcheck: Rename to tst-malloc-check
MALLOC_CHECK_ and mcheck() are two different malloc checking features. tst-mcheck does not check mcheck(), instead it checks MALLOC_CHECK_, so rename the file to avoid confusion.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile6
-rw-r--r--malloc/tst-malloc-check.c (renamed from malloc/tst-mcheck.c)0
2 files changed, 3 insertions, 3 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 149dc74..f606c70 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -25,7 +25,7 @@ include ../Makeconfig
dist-headers := malloc.h
headers := $(dist-headers) obstack.h mcheck.h
tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
- tst-mcheck tst-mallocfork tst-trim1 \
+ tst-malloc-check tst-mallocfork tst-trim1 \
tst-malloc-usable tst-realloc tst-reallocarray tst-posix_memalign \
tst-pvalloc tst-pvalloc-fortify tst-memalign tst-mallopt \
tst-malloc-backtrace tst-malloc-thread-exit \
@@ -70,7 +70,7 @@ test-srcs = tst-mtrace
# These tests either are run with MALLOC_CHECK_=3 by default or do not work
# with MALLOC_CHECK_=3 because they expect a specific failure.
-tests-exclude-mcheck = tst-mcheck tst-malloc-usable \
+tests-exclude-mcheck = tst-malloc-check tst-malloc-usable \
tst-interpose-nothread tst-interpose-static-nothread \
tst-interpose-static-thread \
tst-mxfast tst-safe-linking
@@ -210,7 +210,7 @@ endif
endif
endif
-tst-mcheck-ENV = MALLOC_CHECK_=3
+tst-malloc-check-ENV = MALLOC_CHECK_=3
tst-malloc-usable-ENV = MALLOC_CHECK_=3
tst-malloc-usable-static-ENV = $(tst-malloc-usable-ENV)
tst-malloc-usable-tunables-ENV = GLIBC_TUNABLES=glibc.malloc.check=3
diff --git a/malloc/tst-mcheck.c b/malloc/tst-malloc-check.c
index 6650d09..6650d09 100644
--- a/malloc/tst-mcheck.c
+++ b/malloc/tst-malloc-check.c