From patchwork Tue Jun 22 09:00:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 43947 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8271F394743A for ; Tue, 22 Jun 2021 09:02:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8271F394743A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1624352521; bh=WiPqvrBHT6/M2RVLSqg+79ZPMHpWUSCaaot9Kr+NQHE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=n5hZpm3ne1wmfQBYGgoIUU5h1WmhQeHM4nXUDBDl03cOzKIQGSAJzw0D8EW+2QUP0 BxQyTHCe22LyCjCYU/n1jcUvhc2tpDRsiHKblvA1yUdGw2OvulbG+V0FTqLcTH6nbu dK4BGyzqjvhz434yN09DnhQ7ZwwU+kgT1oXCJVG4= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from bumble.maple.relay.mailchannels.net (bumble.maple.relay.mailchannels.net [23.83.214.25]) by sourceware.org (Postfix) with ESMTPS id 942DD394CC23 for ; Tue, 22 Jun 2021 09:01:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 942DD394CC23 X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id CDFB9322527 for ; Tue, 22 Jun 2021 09:01:00 +0000 (UTC) Received: from pdx1-sub0-mail-a45.g.dreamhost.com (100-101-162-61.trex.outbound.svc.cluster.local [100.101.162.61]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 111E13228C6 for ; Tue, 22 Jun 2021 09:01:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a45.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.101.162.61 (trex/6.3.3); Tue, 22 Jun 2021 09:01:00 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Quick-Spicy: 4aeeb76b292ac88e_1624352460299_502603632 X-MC-Loop-Signature: 1624352460299:1579407416 X-MC-Ingress-Time: 1624352460298 Received: from pdx1-sub0-mail-a45.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTP id D1A9D7F037 for ; Tue, 22 Jun 2021 02:00:59 -0700 (PDT) Received: from rhbox.intra.reserved-bit.com (unknown [1.186.101.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTPSA id A78A27EFD9 for ; Tue, 22 Jun 2021 02:00:58 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a45 To: libc-alpha@sourceware.org Subject: [PATCH] tst-mcheck: Rename to tst-malloc-check Date: Tue, 22 Jun 2021 14:30:49 +0530 Message-Id: <20210622090049.1786639-1-siddhesh@sourceware.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=-3494.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Siddhesh Poyarekar via Libc-alpha From: Siddhesh Poyarekar Reply-To: Siddhesh Poyarekar Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" 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