From: Siddhesh Poyarekar <siddhesh@sourceware.org>
To: libc-alpha@sourceware.org
Subject: [PATCH] tst-mcheck: Rename to tst-malloc-check
Date: Tue, 22 Jun 2021 14:30:49 +0530 [thread overview]
Message-ID: <20210622090049.1786639-1-siddhesh@sourceware.org> (raw)
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.
Pushing this as it is a trivial change.
---
malloc/Makefile | 6 +++---
malloc/{tst-mcheck.c => tst-malloc-check.c} | 0
2 files changed, 3 insertions(+), 3 deletions(-)
rename malloc/{tst-mcheck.c => tst-malloc-check.c} (100%)
diff --git a/malloc/Makefile b/malloc/Makefile
index 149dc7471f..f606c70fed 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
similarity index 100%
rename from malloc/tst-mcheck.c
rename to malloc/tst-malloc-check.c
--
2.31.1
reply other threads:[~2021-06-22 9:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210622090049.1786639-1-siddhesh@sourceware.org \
--to=siddhesh@sourceware.org \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).