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=-4.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 355311F4B4 for ; Wed, 3 Feb 2021 17:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232299AbhBCRYA (ORCPT ); Wed, 3 Feb 2021 12:24:00 -0500 Received: from bsmtp.bon.at ([213.33.87.14]:11526 "EHLO bsmtp.bon.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232230AbhBCRXq (ORCPT ); Wed, 3 Feb 2021 12:23:46 -0500 Received: from dx.site (unknown [93.83.142.38]) by bsmtp.bon.at (Postfix) with ESMTPSA id 4DW7ml64ftz5tlF; Wed, 3 Feb 2021 18:23:03 +0100 (CET) Received: from [IPv6:::1] (localhost [IPv6:::1]) by dx.site (Postfix) with ESMTP id 1F46A49F0; Wed, 3 Feb 2021 18:23:03 +0100 (CET) Subject: Re: [PATCH] annotate-tests: quote variable expansions containing path names To: Jeff King , Philippe Blain Cc: Git Mailing List References: <762b6a24-15ef-7578-6064-eb82832699a4@gmail.com> From: Johannes Sixt Message-ID: Date: Wed, 3 Feb 2021 18:23:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Am 03.02.21 um 06:22 schrieb Jeff King: > On Sat, Jan 30, 2021 at 12:14:56PM -0500, Philippe Blain wrote: > >> Apart from that, maybe we could set up one of the CI jobs to >> clone git.git into a path with spaces, to try to avoid these >> kind of errors in the future ? > > We put a space in the temporary trash directory created by the test > suite for exactly this purpose. So I was curious why it didn't detect > this problem. > > It looks like it's because the issue is with $TEST_DIRECTORY, which is > outside the trash directory. Yes, correct. I was also suprised at first that this was not caught. -- Hannes