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-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-5.2 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 9D2F31F953 for ; Wed, 24 Nov 2021 00:11:02 +0000 (UTC) Received: from localhost ([::1]:57292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpfsL-0007ZH-AG for normalperson@yhbt.net; Tue, 23 Nov 2021 19:11:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpfsH-0007Yt-I0 for bug-gnulib@gnu.org; Tue, 23 Nov 2021 19:10:57 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40460) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpfsF-0005DT-8T for bug-gnulib@gnu.org; Tue, 23 Nov 2021 19:10:57 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6A39D1600BC; Tue, 23 Nov 2021 16:10:50 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8yiUlFCzX3C6; Tue, 23 Nov 2021 16:10:49 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C65DF1600EF; Tue, 23 Nov 2021 16:10:49 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s5fHqqTfQExo; Tue, 23 Nov 2021 16:10:49 -0800 (PST) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A0D1F1600CE; Tue, 23 Nov 2021 16:10:49 -0800 (PST) Message-ID: <5b445f9b-e67e-9c9b-3181-8ccb0f26eb43@cs.ucla.edu> Date: Tue, 23 Nov 2021 16:10:49 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: tests: dis/allow '.' in PATH? Content-Language: en-US To: Bernhard Voelker , bug-gnulib References: <7efa54e6-e6dc-822b-8eaa-18177a52b0a1@bernhard-voelker.de> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <7efa54e6-e6dc-822b-8eaa-18177a52b0a1@bernhard-voelker.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.68; envelope-from=eggert@cs.ucla.edu; helo=zimbra.cs.ucla.edu X-Spam_score_int: -76 X-Spam_score: -7.7 X-Spam_bar: ------- X-Spam_report: (-7.7 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-3.515, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On 11/23/21 14:19, Bernhard Voelker wrote: > Of course, the findutils tests could (and probably will) remove '.' from PATH, > but I wonder if this should or should not be done for other packages via a change > in 'tests/init.sh' as well? Sounds good to me. It might also help to sanitize other sensitive environment variables, such as HOME, SHELL, ENV.