From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RDNS_NONE,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id E758E1F9FD for ; Mon, 8 Mar 2021 13:00:37 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 02E4F384BC3C; Mon, 8 Mar 2021 13:00:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02E4F384BC3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1615208437; bh=kp8vljoW6PEQLCr162QyE2KDKMWaCHbeQwU+skzXqiE=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=mrTQ12DJ6C8/ONmVyDOWYDKsN3aVLb3F3epm8putLaQgD7t/B9gxr5I66zHPbQe14 0zcaGBgDYcIUqKwWqYHFZLZ3fEffR6pcNu5W0NXsW1wOWjHEQsVony9gbsfQbryuz2 gq6MNzooc0noUHldFtRBaRqBFoZYtTm1Qlkeo/5U= Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by sourceware.org (Postfix) with ESMTPS id 0AD70385040A for ; Mon, 8 Mar 2021 13:00:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0AD70385040A Received: by mail-qk1-x72a.google.com with SMTP id b130so9014221qkc.10 for ; Mon, 08 Mar 2021 05:00:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kp8vljoW6PEQLCr162QyE2KDKMWaCHbeQwU+skzXqiE=; b=Uuou6dkRlU1SKrWI0dhHBC9XDTi/hQAXKZpOWqEwpdI5Pq14uwUq1WL1BJjYCQsdhy trovZJFdi85qXP60bTOUMle2iXguBikm2RMT9eF7jsBJyLLkr0DW2Lt8iwLx077ltnl8 h4KIGQ4R3Ws+DsWQdP6eHmvThaTBk9SpUOunabtL90okPegFUwVhpHg9w1ZWhqpG/0X3 6gLLLTec0ARGMfer0NbT/EQRNRX4AEADeFuO8zHix6L+kUhCQhTN82/h0TMQJVAnDxIC GvTri7p739XSqZQOVvnF0H/DgsUwxGTXuhPOUgRQdjCLhO2yYtMBXLiShVqwnlcvnwWV WpGg== X-Gm-Message-State: AOAM5334KDtvM4LWgHIxnlf3QbZAxRGHq//oEtKHdUAmzrqsyIy/fftN t1VHtZaWx6cDdN9vpSM+kds+T8CrAHMCPQ== X-Google-Smtp-Source: ABdhPJyOnpKNpLo4WqL6J2PEGivvPzIVigNZn/PTgvJWxTE3GfXL3gQEn+GEDeBqluSpgI0PHC4ZeQ== X-Received: by 2002:a05:620a:22f5:: with SMTP id p21mr19700001qki.225.1615208433409; Mon, 08 Mar 2021 05:00:33 -0800 (PST) Received: from [192.168.1.4] ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id k7sm7374992qtm.10.2021.03.08.05.00.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Mar 2021 05:00:33 -0800 (PST) Subject: Re: [PATCH 01/52] io: Use temporary directory and file for ftwtest-sh To: Joseph Myers , Andreas Schwab References: <20210305201518.798584-1-adhemerval.zanella@linaro.org> <20210305201518.798584-2-adhemerval.zanella@linaro.org> Message-ID: <0f51267b-6c4d-422a-17f7-7566ee21e599@linaro.org> Date: Mon, 8 Mar 2021 10:00:29 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , From: Adhemerval Zanella via Libc-alpha Reply-To: Adhemerval Zanella Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On 05/03/2021 20:53, Joseph Myers wrote: > On Fri, 5 Mar 2021, Adhemerval Zanella via Libc-alpha wrote: > >> # First create our scenario: >> -tmp=${objpfx}io >> -tmpdir=$tmp/ftwtest.d >> +tmp=/tmp >> +tmpdir=$(mktemp -d $tmp/ftwtest.d.XXXXXX) >> +ftwtest=$(basename $tmpdir) > > /tmp on the system on which glibc is built may not be the same as /tmp on > the system on which programs linked with the glibc under test are run - in > general with cross-test-ssh.sh they won't be, only the source and build > directories can be assumed to be shared between the two systems. > I will use a temporary directory on the build directory instead as noted by Andreas.