From patchwork Fri Aug 16 12:34:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1973237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=b5XPy506; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlhKF5GK0z20Bh for ; Fri, 16 Aug 2024 22:35:13 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 488EB385DDDA for ; Fri, 16 Aug 2024 12:35:11 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id A3795385DC3C for ; Fri, 16 Aug 2024 12:34:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A3795385DC3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A3795385DC3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723811694; cv=none; b=u/RYQY7UjhOtjUTElMjrftmEETj4AtESLNlwioRj+KDIUgIY4iGyTjVfhvT9hTDiNa3dmmQhuuAhAUBcxrKtL1/tFvCcgo6EXJ+QTejO6nQCO4+gmUXgngKJ9uxTSk9derMOilxAIfJDiAV7zoFS9tyGshQG+/W9UTMF0dxkrNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723811694; c=relaxed/simple; bh=mHcGt47bxBGeqIaPsLSaKITGh7qP7A19HbrzpkzeuEM=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=dIKHVGA+9cH9jXAfEqNcyKv04hsZhydT7CzYFDXgVVcVu3rRSUfqh7MGQytG/1ybKA6nDXWZuKE6Xtm/Iycin8d7LbGbyGBgCADZ39VUEm4rpzH5JBDe+bJmYsN4bQLcNdo4QjXKncrEfHhVwus5OlJI6RL2dbgzakn+6LI5d2c= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1723811692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=em63/SpN0zfzBMyaVD+ArruuiGz4+gPsvjFLDkKladU=; b=b5XPy506KAOhzOAMW9R83JTzgWg1On9IRCEdM32zyzvaQeUoHLQIspMLOHvAOJhrNSkHrv vxzbZZHgu3kVQ/vSbR3IwTqdkjn/FQa7xUiF5iRS9iHjlHlzW1u/l3/keuwYpuf8oGvuFr 8vEAs2no7lLz0VpYgiU5cudRnmijdSo= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-501-19zQy-7vORW7qciD3PIy9w-1; Fri, 16 Aug 2024 08:34:51 -0400 X-MC-Unique: 19zQy-7vORW7qciD3PIy9w-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 54766193E8E7 for ; Fri, 16 Aug 2024 12:34:49 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.19]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 44A4319560A3 for ; Fri, 16 Aug 2024 12:34:48 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 0/5] Various support subdirectory cleanups Message-ID: X-From-Line: 6c0575946b135dce84f68578348894ae587488b4 Mon Sep 17 00:00:00 2001 Date: Fri, 16 Aug 2024 14:34:45 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org This series makes it easier to build support/ outside of glibc, for quick test development. It simplifies some io tests by switching to bit-invariant statx for the time references. Built with build-many-glibcs.py. Thanks, Florian Florian Weimer (5): support: Remove #include support: Include for strcmp in support_format_addrinfo.c support: Add the xstatx function io: Use struct statx and xstatx in tests support: Use macros for *stat wrappers elf/tst-ldconfig-bad-aux-cache.c | 2 +- io/tst-copy_file_range.c | 2 +- io/tst-futimens-time64.c | 1 - io/tst-futimens.c | 13 +++---- io/tst-futimes-time64.c | 1 - io/tst-futimes.c | 13 +++---- io/tst-futimesat-time64.c | 3 -- io/tst-futimesat.c | 30 +++++----------- io/tst-lutimes-time64.c | 1 - io/tst-lutimes.c | 26 +++++++------- io/tst-statx.c | 4 +-- io/tst-utime-time64.c | 1 - io/tst-utime.c | 13 +++---- io/tst-utimensat-time64.c | 1 - io/tst-utimensat.c | 35 +++++++++---------- io/tst-utimes-time64.c | 1 - io/tst-utimes.c | 13 +++---- locale/tst-localedef-path-norm.c | 2 +- localedata/tst-localedef-hardlinks.c | 2 +- posix/tst-execveat.c | 2 +- stdio-common/tst-renameat2.c | 2 +- stdlib/tst-system.c | 2 +- support/Makefile | 9 ++--- support/support-xstat-time64.c | 32 ----------------- support/support-xstat.c | 30 ---------------- support/{xlstat.c => support_check_stat_fd.c} | 11 +++--- ...ort-xfstat.c => support_check_stat_path.c} | 9 +++-- support/support_format_addrinfo.c | 1 + support/timespec-add.c | 1 - support/timespec-sub.c | 1 - support/xlstat-time64.c | 32 ----------------- support/{support-xfstat-time64.c => xstatx.c} | 18 +++++----- support/xunistd.h | 32 ++++++++--------- 33 files changed, 104 insertions(+), 242 deletions(-) delete mode 100644 support/support-xstat-time64.c delete mode 100644 support/support-xstat.c rename support/{xlstat.c => support_check_stat_fd.c} (76%) rename support/{support-xfstat.c => support_check_stat_path.c} (81%) delete mode 100644 support/xlstat-time64.c rename support/{support-xfstat-time64.c => xstatx.c} (69%) base-commit: b22923abb046311ac9097a36b97b9b97342bac44