Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1633523pxk; Fri, 2 Oct 2020 15:01:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9EWuvguk62xn0/kyIGrfhN3AY6XIFLqWVbSD0A6eA+juqNEwRIfuNx8VgLzRSK8Eck/9u X-Received: by 2002:a17:906:bfc8:: with SMTP id us8mr4425880ejb.282.1601676114959; Fri, 02 Oct 2020 15:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601676114; cv=none; d=google.com; s=arc-20160816; b=pCqQ0tgb0IR6Tj7mZBf6b98u4+waeLtXSW2PV6AHQyR9CPApHTjQwLaZMKdpN8JmkF tl67283ro9QyVAKFoiC4pqxNp59XwsBUhknQBJQ72/+j2LOqvJ4YPuLaV05mPpFlBqIR Mg/YAHMDbh8V7Je3FOkkgSkwCBIcmrXzoq9OewaHVosM5J5CaVRMlTOYLizo2zuYXW1N 45LlmPrOqMLtRvYGBjV/6EJE/eQpEGZjayELbr2ShTI5eLtgPq6v7WZbiXUVIPgeXARF LK6tpLR9wF42tadXA0wt5vaGEzMt+VpxjcgBoGz/h6bf8gBRotyRz9rMotHp4pnRcC03 9Kbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=M2Opl5WwYVkTwBHTOM+VHsYv0fRGS9aWF3ZwUn/WHy4=; b=HaYhjnucB4eazEMDWevh4ZUvPiMoAXECiPtQafmYEmNHOB3+MbAsiSJPZHKQSAsEjO 3DVAvlIlf4SeqxAkZKlzPl7CYJcqRHKXINN/5FzEhRd00/OUaTHLLD1w4J+om3ge9LZp zomghG4158nCEbNwVQIgLpkMe6ByvDZRQFKlB0dGWfHZvNPLC2vThP4UPl1JhEEG2bof k6WotZJ7ZzjBht0204fswEP715czBcnySOdmUJojD+GvQp/PB5K5ybY7h/KXXZq1Af8f 0uevSrbm3L97rRWmPX/c2Eyu8NCq8mAKiQATky+yvZx6edBdd7C1gRE1RMXPEdGcBGmw sVHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hrjjWRl7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd11si1924974ejb.184.2020.10.02.15.01.31; Fri, 02 Oct 2020 15:01:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hrjjWRl7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725765AbgJBV7t (ORCPT + 99 others); Fri, 2 Oct 2020 17:59:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:60500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbgJBV7t (ORCPT ); Fri, 2 Oct 2020 17:59:49 -0400 Received: from X1 (c-76-21-107-111.hsd1.ca.comcast.net [76.21.107.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CC29420719; Fri, 2 Oct 2020 21:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601675987; bh=GX3SlIpSpsmf0/iZGt5G8efHVWaAJE8GOD956nTu+uM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hrjjWRl7Pc8btXlVDSBjiNYuf9lAmJ6uyjjkUzgArCfosqCfS6P2aPfBC46vYPVrt CqHeM9+i3hWZZ2yc2N+04/TJPWej7hPMA0jvCvT13jf18EE5Ja4KfTqp7pLQ2xI2Ou vyWsKDrnVOMYVUzAIYGw2PGZ9LSs+6b4rYGqO9w4= Date: Fri, 2 Oct 2020 14:59:45 -0700 From: Andrew Morton To: John Hubbard Cc: Stephen Rothwell , Linux Next , LKML , Subject: Re: [PATCH v2 2/2] selftests/vm: fix run_vmtest.sh: restore executable bits, and "s" in name Message-Id: <20201002145945.c5abb5f57dbeac30351b7757@linux-foundation.org> In-Reply-To: <20201002084049.556824-3-jhubbard@nvidia.com> References: <20201002084049.556824-1-jhubbard@nvidia.com> <20201002084049.556824-3-jhubbard@nvidia.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Oct 2020 01:40:49 -0700 John Hubbard wrote: > commit cb2ab76685d7 ("selftests/vm: rename run_vmtests --> > run_vmtests.sh") changed the name of run_vmtests to run_vmtest.sh, but > inadvertently dropped the executable bits. We cannot depend on the x bit. Because downloading linux-foo.patch.gz and installing it with patch(1) is a supported way of obtaining Linux. And patch(1) loses the x bit. If $(CONFIG_SHELL) is unavailable then invoking the script with "/bin/sh foo.sh" should do the trick. > Somehow the name is missing an "s", too. Fix both of these problems by > renaming, and restoring the executable bits. But that's what your patch did! tools/testing/selftests/vm/{run_vmtests => run_vmtest.sh} | 0 Here: https://lkml.kernel.org/r/20200929212747.251804-4-jhubbard@nvidia.com So all confused. I'll drop this version - please redo and resend when convenient?