From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from insect.birch.relay.mailchannels.net (insect.birch.relay.mailchannels.net [23.83.209.93]) by sourceware.org (Postfix) with ESMTPS id 1807B3858C83 for ; Fri, 19 Aug 2022 14:27:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1807B3858C83 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org 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 15E0B6C2931; Fri, 19 Aug 2022 14:27:31 +0000 (UTC) Received: from pdx1-sub0-mail-a307.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AC6C66C23A7; Fri, 19 Aug 2022 14:27:30 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1660919250; a=rsa-sha256; cv=none; b=xx/dSoGpLL3QYtT8nYdXu76qJMs/Ixwvvyc74On13851FLPlH8xI+LRJCfF9SNwWYeFkq0 24X0oqlgm6fSJj/suMbKMpX5/IfFr8Y1J1GCa2wgD8re/4kwVr9dINF+yAnPBK0yIV7yVm vPnoA43HzT8Neh/0004S6uPbErZ6mbl56o1xIk/JKJ+yOqUMn0s6BYGDxf6DYC9JNitcPn vDK3mn0iVrhcn60TbKMP8IKTC6yqpXFNax+j1cFA2XjKDLgMfgRkVGXbn6Q6dzosQ+3vlD ZpaOJjsXPSQT/n7cNsCIzj+vuWNEDEAQ4n0DJxzlcwrs5K1haUW9JL4N2vtkug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1660919250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=n32SKMSgkYryWuzPUDSdChlRGTS6h04+63oFpR8Ik5E=; b=cYTE8qkq49BajsjRhUNvYWUUzEdo7llsW5lNaa/QtR9+jkN5/pMxJlltbnvBsAzsP8ry/H DKyR0J7E7FrpJnew1RH0kqVYAnGUWpLrU02b4PtlAGmkb7qVHpyOu9evDL73akRWDn3cwN 8jRxxz8IoH9kRQXlv6HJ9OOTXR273JgH9NVcuel+I2nhKMcYABnjTnFxWlL74HUUw0j8Qb xDo1egejqIaB6mZidG0Aa395ZljkyIRIdpaJGBYI5kaeWQz7/YV/jrXcPTB4991Ubm5zDt gzSWFt4EPWC3WuY8wpyvX1NWwkVig+jgfcKQsFmuPpEVpV+UR02NOQbLpgg8uA== ARC-Authentication-Results: i=1; rspamd-79945fd77c-s5tkk; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Whimsical-Unite: 6249ae7365a1b2ed_1660919250941_3147175347 X-MC-Loop-Signature: 1660919250941:1842872831 X-MC-Ingress-Time: 1660919250941 Received: from pdx1-sub0-mail-a307.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.120.38.149 (trex/6.7.1); Fri, 19 Aug 2022 14:27:30 +0000 Received: from [192.168.0.182] (bras-vprn-toroon4834w-lp130-16-184-147-84-238.dsl.bell.ca [184.147.84.238]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a307.dreamhost.com (Postfix) with ESMTPSA id 4M8PGp1wNrz6H; Fri, 19 Aug 2022 07:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1660919250; bh=n32SKMSgkYryWuzPUDSdChlRGTS6h04+63oFpR8Ik5E=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=YIkWp4ToAVr8LiwqKyPKdAqJC8/z73ksSiEalwBmxjHpBCK/1fx4dElqm1/2v9AzQ wUEvIiwflCQtbJj+XCvX6TKxi1jXgZY3tzbLd/neyBE9hGuogFlH6yuMpExrIfQ3f6 3I01REcBIatIxmdJnY9Qeqt9LhnF+5W2Dtg5FMAEmhtcMfzz/fcNUs/4f0KvxpJoXK mrhL23lCYgUKQ9p2/dfHf1QvnnLjydNopTRWEhO1rHrnZZ72X+5LHQNPfj2GlNXP4J mTCCymbFe8HZdmmAWa5zEZKV6BNy4m73E6KwKp+zBgoVKo7LB1Cc2aWxwldxS6BiRG 48ZoR8dZ9fFvQ== Message-ID: Date: Fri, 19 Aug 2022 10:27:28 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 02/13] resolv: Add tst-resolv-aliases Content-Language: en-US To: Florian Weimer Cc: libc-alpha@sourceware.org References: <151a8d509088c5189e208b27be7ac51abb4ab456.1660123636.git.fweimer@redhat.com> <9dc19001-b490-07f6-e18d-717b08968ec1@gotplt.org> <87fshs1fid.fsf@oldenburg.str.redhat.com> From: Siddhesh Poyarekar In-Reply-To: <87fshs1fid.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3027.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, INDUSTRIAL_BODY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2022 14:27:34 -0000 On 2022-08-19 10:20, Florian Weimer wrote: >> Why not consolidate this with the implementation in tst-resolv-byaddr? > > The meat of the test is different, I think (gethostbyaddr vs > gethostbyname). Only the scaffolding will overlap, and the response > function gets more complicated. > > Or do you mean create a separate header file with just this static > variable and function? Yes, this. Thanks, Sid