From patchwork Fri Oct 18 08:27:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1179204 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-106080-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="s5ot/WyX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46vfL14Nrbz9sPJ for ; Fri, 18 Oct 2019 19:27:52 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=xkWrnmHph/QpxxIrgtoK93Bv/tOJv CrcgpVF1H20iPJJn7pSiDbvBdGUgDEhuUvT73Kpki6+6CWDLuxgdVSMbG9rdeKW9 Cm23Z6tQ53UpVW6e2DCROlq94aFndRahBkGRdp1RkrGu8GHq1xoo5jzX22AUEaRM 4AlCGyuXQ29gkk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=PZ8BhomSwCjlT5FdUug8Mz+tLFI=; b=s5o t/WyXZHbqZkt55PnfeTpkiibYzCSucGBBNmSqb+QFORZHF5kW4ELdIEYwqYM0O7L T9jhgPC3Fd8s2JDJHi4geg9kmeqrA5ECKUg2j85wyTyTXyWrnjGKVhy9a0ypCmvC KLK5BLjRl5OH0NAfwh4LY7McryHxXaXAluUSB2nc= Received: (qmail 59024 invoked by alias); 18 Oct 2019 08:27:46 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 59016 invoked by uid 89); 18 Oct 2019 08:27:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] nptl/tst-cancel25 needs to be an internal test Date: Fri, 18 Oct 2019 10:27:41 +0200 Message-ID: <874l06wj9e.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Otherwise the definition of SIGCANCEL is not visible. Tested on x86_64-linux-gnu and i686-linux-gnu. ----- nptl/Makefile | 4 ++-- nptl/tst-cancel25.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Carlos O'Donell diff --git a/nptl/Makefile b/nptl/Makefile index 1129fd4516..41f8f5e8d2 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -285,7 +285,7 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \ tst-cancel6 tst-cancel7 tst-cancel8 tst-cancel9 tst-cancel10 \ tst-cancel11 tst-cancel12 tst-cancel13 tst-cancel14 tst-cancel15 \ tst-cancel16 tst-cancel17 tst-cancel18 tst-cancel19 tst-cancel20 \ - tst-cancel21 tst-cancel22 tst-cancel23 tst-cancel24 tst-cancel25 \ + tst-cancel21 tst-cancel22 tst-cancel23 tst-cancel24 \ tst-cancel26 tst-cancel27 \ tst-cancel-self tst-cancel-self-cancelstate \ tst-cancel-self-canceltype tst-cancel-self-testcancel \ @@ -329,7 +329,7 @@ tests = tst-attr1 tst-attr2 tst-attr3 tst-default-attr \ tests-internal := tst-rwlock19 tst-rwlock20 \ tst-sem11 tst-sem12 tst-sem13 \ tst-barrier5 tst-signal7 tst-mutex8 tst-mutex8-static \ - tst-mutexpi8 tst-mutexpi8-static + tst-mutexpi8 tst-mutexpi8-static tst-cancel25 xtests = tst-setuid1 tst-setuid1-static tst-setuid2 \ tst-mutexpp1 tst-mutexpp6 tst-mutexpp10 diff --git a/nptl/tst-cancel25.c b/nptl/tst-cancel25.c index 1067634eb7..24ddd3c01c 100644 --- a/nptl/tst-cancel25.c +++ b/nptl/tst-cancel25.c @@ -2,6 +2,7 @@ #include #include #include +#include static pthread_barrier_t b;