From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by sourceware.org (Postfix) with ESMTPS id 79BC43858C54 for ; Mon, 27 Mar 2023 17:24:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 79BC43858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x22b.google.com with SMTP id f17so6901163oiw.10 for ; Mon, 27 Mar 2023 10:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679937854; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IfI7cnwWYfS68wmTxfztrMYQ0v2wCcCcuqgKjIddt9A=; b=mE9JCf/TaIU7BaOThUls6jlCxsCZ2EJYhP4lI4ccIR1hVRA33nDBkUQ9AQixQ5dy3I M2E/WEInI93L+bYvf8aDBtSbd8/RtmUBkEuy6+iy7pMDCvlvefPECBQjGp9jLItiK50o Xi3rEYS5ttFOsgIGw3PQ4d41OzmhjjmeAGBDWE0KodPfRQTPcZoJJOavU54kpbojg+Zw ADLz9EhR/LpXmrG4rUMwuz20Yy/ZdIn6QfAXQrI+Go44Z0XPLp3kTSdS4XBN5wDH7zu7 fvfL9elOd1Jw8Pl/tDwYaPNXb0fLIWKVI00f70nQ4KHJVfoIJyMjoe6nq9ysRynjAGjH CXFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679937854; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IfI7cnwWYfS68wmTxfztrMYQ0v2wCcCcuqgKjIddt9A=; b=NozlhpGzIdcgxNs1hBHFhnRc9VYWUaU8QEycv5OCuY4QMssPlLIHbbiSuv7U22C/u2 GU/Zqzb9vzOrIxHDyW6mtKXk4Z/7Lml0p56mu6p5GZ5LaSF+U2/AtYmYms5KJZDNPyY+ e81bCjh3xeQ0H0Nonb5Gh17uWdoVHOFaV7A69G7XRc5J6rXCzucibMsweSjZ++uOylmf nlDBOBizWVL1VViENJnEPC5HoZDyDA9kOexhyN4xlDPkyU0RBzelsNsZok9zwPMVE4mQ aVm94HMU0Uscj0H/2GLRWSm1PQtn4bVzCDFyNISaP5X1cPVM4IRN3o7fnBd3vc4gJGVN 8nqQ== X-Gm-Message-State: AO0yUKXTj7Zz+uXnv8XrjEoLY8RtV1sEwqsXbHP/DWKGSc0eSBjwNEBg u7iN5C5tERkkp9sp3++/RaRf6JMvQ+zijpWkj4m+3Q== X-Google-Smtp-Source: AK7set+AxWa4peNRxL8h4K/hziuPktQNU1CByC2zqOu0DTQhsXn9//wJfh5VvBCzzKQO8TSk1j9vgg== X-Received: by 2002:a05:6808:1a91:b0:37a:dc7a:9cb with SMTP id bm17-20020a0568081a9100b0037adc7a09cbmr5325572oib.27.1679937854427; Mon, 27 Mar 2023 10:24:14 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c1:60f9:9d7f:7b90:a6ae:401d? ([2804:1b3:a7c1:60f9:9d7f:7b90:a6ae:401d]) by smtp.gmail.com with ESMTPSA id r124-20020acac182000000b00386b61f3dbfsm11418020oif.1.2023.03.27.10.24.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Mar 2023 10:24:13 -0700 (PDT) Message-ID: <94230a08-6c44-a176-69d3-a194227f5b07@linaro.org> Date: Mon, 27 Mar 2023 14:24:12 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 3/3] Fix tst-glibc-hwcaps-prepend-cache with custom configure prefix value Content-Language: en-US To: libc-alpha@sourceware.org References: <20230326200016.219-1-romain.geissler@amadeus.com> <20230326200016.219-4-romain.geissler@amadeus.com> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <20230326200016.219-4-romain.geissler@amadeus.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: LGTM, thanks. Reviewed-by: Adhemerval Zanella On 26/03/23 17:00, Romain Geissler via Libc-alpha wrote: > --- > elf/tst-glibc-hwcaps-prepend-cache.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/elf/tst-glibc-hwcaps-prepend-cache.c b/elf/tst-glibc-hwcaps-prepend-cache.c > index 2a448423495..fe074b28028 100644 > --- a/elf/tst-glibc-hwcaps-prepend-cache.c > +++ b/elf/tst-glibc-hwcaps-prepend-cache.c > @@ -44,9 +44,13 @@ do_test (void) > if (dlopen (SONAME, RTLD_NOW) != NULL) > FAIL_EXIT1 (SONAME " is already on the search path"); > > - /* Install the default implementation of libmarkermod1.so. */ > - xmkdirp ("/etc", 0777); > - support_write_file_string ("/etc/ld.so.conf", "/glibc-test/lib\n"); > + { > + /* Install the default implementation of libmarkermod1.so. */ > + char *conf_path = xasprintf ("%s/ld.so.conf", support_sysconfdir_prefix); > + xmkdirp (support_sysconfdir_prefix, 0777); > + support_write_file_string (conf_path, "/glibc-test/lib\n"); > + free (conf_path); > + } > xmkdirp ("/glibc-test/lib/glibc-hwcaps/prepend2", 0777); > xmkdirp ("/glibc-test/lib/glibc-hwcaps/prepend3", 0777); > {