Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iII0G-0003YW-G7 for mharc-qemu-trivial@gnu.org; Wed, 09 Oct 2019 15:52:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58147) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iII0C-0003TV-Us for qemu-trivial@nongnu.org; Wed, 09 Oct 2019 15:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iII0B-0005IW-OP for qemu-trivial@nongnu.org; Wed, 09 Oct 2019 15:52:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46402) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iII06-0005Hc-MS; Wed, 09 Oct 2019 15:51:58 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E29E9C057E32; Wed, 9 Oct 2019 19:51:57 +0000 (UTC) Received: from [10.3.116.162] (ovpn-116-162.phx2.redhat.com [10.3.116.162]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4CE7F60606; Wed, 9 Oct 2019 19:51:57 +0000 (UTC) Subject: Re: [PATCH v2 1/4] qemu-iotests: remove bash shebang from library files To: Cleber Rosa , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Max Reitz , Kevin Wolf , qemu-trivial@nongnu.org, Michael Tokarev , Laurent Vivier References: <20191009194740.8079-1-crosa@redhat.com> <20191009194740.8079-2-crosa@redhat.com> From: Eric Blake Organization: Red Hat, Inc. Message-ID: <287afb96-bfb7-5e6e-ca1c-0e2845f8ef3c@redhat.com> Date: Wed, 9 Oct 2019 14:51:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20191009194740.8079-2-crosa@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 09 Oct 2019 19:51:57 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2019 19:52:07 -0000 On 10/9/19 2:47 PM, Cleber Rosa wrote: > Due to not being able to find a reason to have shebangs on files that > are not executable. > > While at it, add a mode hint to emacs, which would be clueless or > plain wrong about these containing shell code. > > Suggested-by: Eric Blake > Signed-off-by: Cleber Rosa > --- > tests/qemu-iotests/common.config | 2 +- > tests/qemu-iotests/common.filter | 2 +- > tests/qemu-iotests/common.nbd | 3 +-- > tests/qemu-iotests/common.pattern | 2 +- > tests/qemu-iotests/common.qemu | 2 +- > tests/qemu-iotests/common.rc | 2 +- > tests/qemu-iotests/common.tls | 2 +- > 7 files changed, 7 insertions(+), 8 deletions(-) > > diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config > index 9bd1a5a6fc..b85a6a6f96 100644 > --- a/tests/qemu-iotests/common.config > +++ b/tests/qemu-iotests/common.config > @@ -1,4 +1,4 @@ > -#!/usr/bin/env bash > +# -*- emacs mode: sh -*- I thought my version: # hey emacs, this file will be sourced by bash -*- mode: sh -*- was cuter, but that's not a requirement, and yours works ;) Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org