Message ID | 13228392bd2974aa35a986b247825723216bd8e7.1666877952.git.szabolcs.nagy@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=x8w9q2dS; dkim-atps=neutral Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MyqVn676rz23kj for <incoming@patchwork.ozlabs.org>; Fri, 28 Oct 2022 02:34:57 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D324D3895FE9 for <incoming@patchwork.ozlabs.org>; Thu, 27 Oct 2022 15:34:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D324D3895FE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666884895; bh=s2/EKrrkOnB8x7dq9EHbzmko1Sq6mQP7CjbX+3sewyc=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=x8w9q2dSJd/o9k7TgNGww7djst6Al+DXAGdl4Fk+rIl8F6eY454XP1ad/pEcyJmkZ hnb9H8dzOA7mKQhb4qMlSKf0w6fDWrF7Dt8ksqce+r0Tx1eRPu72l0eebbOTM+Fuhn EAlByeYmnAYPpIG7eDOVgadoSroIJh9W4W0U42BY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60070.outbound.protection.outlook.com [40.107.6.70]) by sourceware.org (Postfix) with ESMTPS id 7129F3810B67 for <libc-alpha@sourceware.org>; Thu, 27 Oct 2022 15:34:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7129F3810B67 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=TUq8z6NGIIBtZoiDvwl+C8RkUVuly+hnmiXLE3cdq92OVm6eIWIBCoIunOB49Lx/CFb90uMy0GIYrwR3vgCqdMGQeiOcAO0tiIAhcoku3AeeoTtlQ7Dv1ayHdNicT0WUMEfmS7sm/N06YXkRllp5Hilv+vkcBc/m6shL6AMd32q2S1bdU8HPG/R8OkwyAEv+j1q/6qLplGzGp0b+G2+tknuV/tEKHdaGkc1NXYyi9MZywxoQ7FQn59XuyXcfldSiQlYoOZ7ZAsBHnYlNFEPwT3LM41pL2q6zY2J7qg1IgLSAu50KPkPwdOGVI9Mg2fZF5HYowdtrECSUgTBHxhFndQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=s2/EKrrkOnB8x7dq9EHbzmko1Sq6mQP7CjbX+3sewyc=; b=mMadETZaulJMNp6aV/pArK1yeYinqnACyRMIwJbCpn25HPcQG5vjkHpx/T7NPL3mt0Q280H7h1f8gtIbvBU4Z+TRLLmsWE0Rc/2dNT3kCb3DCClg30U0rYVGlGDAvXd9wgLPPDyMbuy2gBkQ4cxREwE8PKxxTMcJJjKUXwAT/CRAaspVavXLA4h3Be7OgypigbNZU0CL0GYUVaXYzN8hlfG4ti9oQOUgsdaqFxONyIg6t3RU0FVMLyq6M5aj2YYQGB2TBD0VxzLJFOsVwFg5jueV0EMqWPtJF2Lc/+tb+Bf1GccPIvMoi2w8eQJCxMDMeE7FtKgBSqQpw8Cd/SCaCQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1, 1, smtp.mailfrom=arm.com] dmarc=[1, 1, header.from=arm.com]) Received: from AS9PR06CA0209.eurprd06.prod.outlook.com (2603:10a6:20b:45d::14) by GV1PR08MB8741.eurprd08.prod.outlook.com (2603:10a6:150:85::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 15:34:15 +0000 Received: from AM7EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:45d:cafe::16) by AS9PR06CA0209.outlook.office365.com (2603:10a6:20b:45d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28 via Frontend Transport; Thu, 27 Oct 2022 15:34:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT029.mail.protection.outlook.com (100.127.140.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32 via Frontend Transport; Thu, 27 Oct 2022 15:34:15 +0000 Received: ("Tessian outbound b4aebcc5bc64:v130"); Thu, 27 Oct 2022 15:34:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: bbf56689f703e759 X-CR-MTA-TID: 64aa7808 Received: from 3e92f5504ff3.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 79CAEF2D-8912-4A04-8483-AE645113ED64.1; Thu, 27 Oct 2022 15:34:07 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3e92f5504ff3.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 27 Oct 2022 15:34:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ja5CG0NFEL/Wyfis8WaaBo+hdvxk8Y1cG8Bq4fGOQi//p8KeFSCbrroH+djOPSu7a8+QfeMZB6yhi/TIFzTw63BkEco3pGrzKx1TZj/Czsju2AlThUrWf4m5qMHWu0z3OK5oRsZBeG4A/XsZRI1WQ3aUgFSH1Tdn0DwRFNm154ViPZgQh9txu3l7uuH1H5lunJAgqHtUsC41PwKTvQr/XxvZjHlsKVEadNt1GjBs5ILelGyeQLqVWrBpILyt4teqrk0z8pklGBV6iOFQCP9vxm/+aMqXAgrbmadx3bH5z5PL5jHd7l378KbHGzsllzcgArE3IBx0T3RtLr7rD6R24Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=s2/EKrrkOnB8x7dq9EHbzmko1Sq6mQP7CjbX+3sewyc=; b=Sl92j9tTH9FodcCsc2Ks6jrh7vwyShwwP8RZpaC92G3dEfPU4xp0zfwu2ptb33cEG2UYjrVWwhidkeBhtD43gcnIfgyCckgmLAuWi2AvlsjqFK8qk25gyWWpuA9WiuUlY6kAuhHHAIBfbvAglkRSQcXwbjIoCsjtBi24xbSppBHm6Am5OUPZNbHICTSbwLpf3hca3fqral2wf+woJgVwC5UtKmuXmTrp3hj2jQWwpGTUz/DktVh3iSXmuGsqBp3/dCdjMqQLjleIHxSH5jz8ei/zI3mli3tiwH3T19Ui/uzV/Qey7FGO9I7NKTRPQuOtp7fxiBcuZQwa+YOAq3YzvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from AM6PR05CA0033.eurprd05.prod.outlook.com (2603:10a6:20b:2e::46) by DB9PR08MB9466.eurprd08.prod.outlook.com (2603:10a6:10:458::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Thu, 27 Oct 2022 15:34:05 +0000 Received: from AM7EUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2e:cafe::35) by AM6PR05CA0033.outlook.office365.com (2603:10a6:20b:2e::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29 via Frontend Transport; Thu, 27 Oct 2022 15:34:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM7EUR03FT014.mail.protection.outlook.com (100.127.140.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.16 via Frontend Transport; Thu, 27 Oct 2022 15:34:04 +0000 Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 27 Oct 2022 15:34:01 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 27 Oct 2022 15:34:01 +0000 Received: from armchair.cambridge.arm.com (10.2.80.71) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 27 Oct 2022 15:34:00 +0000 To: <libc-alpha@sourceware.org> Subject: [PATCH 20/20] Fix stdlib/test-dlclose-exit-race to not hang Date: Thu, 27 Oct 2022 16:34:00 +0100 Message-ID: <13228392bd2974aa35a986b247825723216bd8e7.1666877952.git.szabolcs.nagy@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1666877952.git.szabolcs.nagy@arm.com> References: <cover.1666877952.git.szabolcs.nagy@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM7EUR03FT014:EE_|DB9PR08MB9466:EE_|AM7EUR03FT029:EE_|GV1PR08MB8741:EE_ X-MS-Office365-Filtering-Correlation-Id: 285f9f55-af43-4cdb-1741-08dab830b46c x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Ur9JdTBEF5MLdx/gWqTgJnkY6yoxZkngVceyTITWr/y0o9STDhf9A1GCAKqPJCzOdBmlpoUCHM03g2vj++75cvIheIuMCZ4f2wNr74JpEhLcd7QmvufuhaAm0yGr+tEQgJp+PRE4QzALLCciNfuR2Cvh0xgwwwU6jfYJpHyL9uspLIQpj0j5bEKyU9atBbtrPGIos7r5gDzA3HrgRqEB/LPMDihs8Jkr1lmjXc5dBIeAs6a0XTpJFWEtHzF/6ujqs8alvJ80+QvyCf2JEgepYoo7Ww6RX8HSCOap+iN+SFi5d7L9jL4qZ8/NkU7OOQLAU+3o6+ahND0ZgvxxqIKhXGSBtAp746XIit53kHuWaJb1oK7mo0F/Ev8wkCi5PC86R79NW3WX8qFY8NuYoOtdAXwafxni3fMJQ3TplnjZYMCFZe8VUenFpMp3hq+Nlex1gMQvoNrsegpqiTcqT7eH70mnxI2Cg45sBS/w7GsOFwubooS6touhKEDL7wrRjHTGps5817b908d1lPLUsbUYBkpzXWwnub9KjDlbQSzByKJY0qwFBHBFJv0OEq4kepQw63OO0iLrk2IBTt1GBDo4N0n3MIW9NtLG/GkBrTeakfEfk6dXb9dmoMfZC1UtkNxXS4CAlKhUK8gosCzxeP6SmGYwLX1DimDqqm8mBjud/NTsv/vJrUF7nCVF/TLVkzb0f3pEzrLySBCQPWUZ20CcDAlCDsVlu3aI+FabOsBNJHAJufe3AsiXyDzKo8JEAI/LWUTpqgiVUtDLfYyblFaz1JJU7WGPaliywXZVD4rlzhAKotAvP9UwXjNK50EOIzUb X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(136003)(346002)(376002)(396003)(39860400002)(451199015)(40470700004)(36840700001)(46966006)(36860700001)(81166007)(83380400001)(4744005)(86362001)(478600001)(82740400003)(356005)(41300700001)(426003)(82310400005)(8676002)(26005)(8936002)(47076005)(70586007)(6916009)(5660300002)(7696005)(40480700001)(316002)(40460700003)(336012)(186003)(2616005)(2906002)(44832011)(70206006)(36756003)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB9466 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ef7abff8-f0e0-40d7-39dd-08dab830ae67 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YtNpU9jdWlzR8pEFeZgp7uDCaQYRdE8Fvl3Q2rVYcsGetci/ga86uxLr+THnZuflp76EnjUZioqW/StIVDVllHaJIeGP8yiFHi7AgtRZzCsbIam8D58jUM1OUKsXxa8v+5BOSt9M7RroOLLD95sTwI8zoIy92IqbCSsAZBrzbYookmA6dliYdOv5U7/SPdB1nb/AvWsGLCrDmZCyMWRqLVF0CRUFICV7cS0xwpVrwvLZeDj/0EC/WqYTjms4m29KHQIUb5PH04uP9zrRxAj9/8YovmKi3X66hsIdylazmMlPboi+642jjDmjnQC4s4EffQ2CqfQ2H8MR/Cnd869tQl6OG8YJq16tGChVqOl0nEmYL0dddo0pdFyUjnmUpbOfT7+m3x5rn0/S+Xj/553QiUkpQPJSWMn5ksOK4zPrCNxB0/EC0F3PRogB3BEhJ9HgubkoDDFL+Cn0M+VyMa9FvbB2/PsqSWYpWIFOMKKuzIWCP+k8Nz9cnZFrt0OO2ZjcfGgWkNngqEkDkj9QKsb/SE0/8jfM5IViL573h64/O7ndLIUyv2Sel79WZDDxmTvUtrwUVQ7InsIk6hDEkJfju3wu3aI17DIWkIDysYi21uQ0WGUS/SYwSOnpJm+IIGBIXImGfXN6RQ9SNQbuLhMjdZc5oBkANOgImp4tbKuyoZAF+3yto7v1Y9ke7cpv7ZXmcl84Mgys1zaUNrYVVPecMmYeYl1o+Hai05nlJNYInyWEjzN5Uz/izxd1w1jic0oLHWbO0yyippi1FqKL5nxVmDGdRMwalJFRDTMBMYQlKWKzYOSvo/kmj8VucL4gl50B X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(346002)(39860400002)(136003)(376002)(451199015)(40470700004)(36840700001)(46966006)(83380400001)(336012)(4744005)(426003)(81166007)(186003)(47076005)(86362001)(36860700001)(82740400003)(2616005)(40460700003)(44832011)(2906002)(41300700001)(8936002)(40480700001)(70206006)(5660300002)(478600001)(26005)(6916009)(316002)(70586007)(7696005)(8676002)(82310400005)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 15:34:15.0801 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 285f9f55-af43-4cdb-1741-08dab830b46c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB8741 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Szabolcs Nagy via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Szabolcs Nagy <szabolcs.nagy@arm.com> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
patches from the morello port
|
expand
|
* Szabolcs Nagy via Libc-alpha: > Use the standard wrapper that kills the test after a timeout. > --- > stdlib/test-dlclose-exit-race.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/stdlib/test-dlclose-exit-race.c b/stdlib/test-dlclose-exit-race.c > index 91613116bb..260f7c9e05 100644 > --- a/stdlib/test-dlclose-exit-race.c > +++ b/stdlib/test-dlclose-exit-race.c > @@ -63,7 +63,7 @@ last (void) > } > > int > -main (void) > +do_test (void) > { > int value; > void *dso; > @@ -90,3 +90,5 @@ main (void) > > FAIL_EXIT1 ("Did not terminate via exit(0) in exit_thread() as expected."); > } > + > +#include <support/test-driver.c> I'm wondering if this interferes with the text objective. Unfortunately this wasn't discussed during the original patch review. Thanks, Florian
diff --git a/stdlib/test-dlclose-exit-race.c b/stdlib/test-dlclose-exit-race.c index 91613116bb..260f7c9e05 100644 --- a/stdlib/test-dlclose-exit-race.c +++ b/stdlib/test-dlclose-exit-race.c @@ -63,7 +63,7 @@ last (void) } int -main (void) +do_test (void) { int value; void *dso; @@ -90,3 +90,5 @@ main (void) FAIL_EXIT1 ("Did not terminate via exit(0) in exit_thread() as expected."); } + +#include <support/test-driver.c>