From patchwork Thu May 9 16:59:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 163741 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp1264887ilr; Thu, 9 May 2019 10:22:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhHDtW/xNZdUZxdwVKdAzRWqoK3lSV97NdAorR8nP1Qwo0l5L/lKYs2y5ccu7YwZXuehu2 X-Received: by 2002:a1c:20d2:: with SMTP id g201mr3727202wmg.148.1557422575947; Thu, 09 May 2019 10:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557422575; cv=none; d=google.com; s=arc-20160816; b=T6QyKahpx57+9vmfQ8QqWBmOOoLha0mSweCbiQDoE83zwd9sEKRABnSNkIQIJKXa0S 5Q3CP8RcOzfegVtMLRqXR266osZXoziEQjTOAmuL1jrG5MITyrXAd3PXO0JpY6qBtYlR MFMJZu2vkqpXbYf0wzlQDhH7+ZIOAW4hGbLYxGEh6FVZYvTg/gNr+h1hKVJIgfEvhBiI G5gYuyCnLi/iWa0uHj3IXojnFT7kUxizF3LvZ0iwMQm1/+75UrhoGEkvVms/9Eifptx5 PA1e8Nm3p0xJekj8j1cEP8gTtGLywRF2qS1WQHcEepd2g7v4D2ntnXCQK/1OXTtacc3I YSxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=MBe7Kc2gJyZ/SuxEH+RJihcvFjAFUPDJsCo1R8ybthc=; b=VtmpH5tW/S9HPJS+bBlGWJZNMwLYrA2fAUe5iiI6aYulK06+ZV87DW4DyW7mpCw/3w EB5r2/4uecC86+nZjpDI0g7NIPD227vB9QfuRw+lN+DGRx/QFfhbhC53Mu8F6/70QIo3 t/C1jXy6md5nm+CQPHowLYVcu1P/bgA5FVlMzanroXbYXoWWr5FGsYdg6fClzEHtPSZQ iFmNWfaAz/OsmrEHEj/EDwc5jn7/hraqNxvJmrnXH0zF0taWYMvGPpjZUtRCwVZwPwwa dqgES7jz7XYv1idlh7nJ+arjYDuu558aapqAU8buIqITIf0jCrhmVJOzFacEjagKWZd3 4oEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="QO/9ph0A"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f12si1958420wmh.21.2019.05.09.10.22.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 May 2019 10:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="QO/9ph0A"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:58383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmkw-0002PW-Rj for patch@linaro.org; Thu, 09 May 2019 13:22:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOmU8-0003pm-G8 for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOmU5-0008Ef-J2 for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:32 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:41886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOmU5-0008C2-99 for qemu-devel@nongnu.org; Thu, 09 May 2019 13:05:29 -0400 Received: by mail-wr1-x441.google.com with SMTP id d12so4053897wrm.8 for ; Thu, 09 May 2019 10:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MBe7Kc2gJyZ/SuxEH+RJihcvFjAFUPDJsCo1R8ybthc=; b=QO/9ph0A12agL9W5ZQrEfa2lomWMpn6I9o25/epjdrOlgqacqHlS4HT4lk6rKAsOqj M+EHTAM5QJJMdzXETT8bo7oh1z26kH7HC1i+Usak6pcImy1DCCLTMZmjdBw9cjAGHpwh 20DLkTW7KapaVQ3HwPB8+1U2L/DFpVhAcoi83wiZymWmtTdkXUSkpThXtc7bNlYVQz32 +ZWz/L5ymPzC/eJKOyE2jTdfzCals+SaOmwS5KIGWsDC1/2FYEAzjRiYWLHe2dwpGtvs mALgrbjIjARAnCgOojfm8alZKwjIq0FeZYAipl9IqwsTT0ZXsZruL1r4gD9GAmtCwsc9 DA2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MBe7Kc2gJyZ/SuxEH+RJihcvFjAFUPDJsCo1R8ybthc=; b=oAcsFDxANv0IbydNem5qhn+yG1kAIL5WXxHQD4h8ZB4qPPyAa67/xPLHymtC+zwBtq rerAXsEpQw0lKrHYgkzqA7ayoiYFtDCl0SfwkjzTIhzfr0Mr2GKB3eDGArvLSzy1cB4b EH3YIykiVRA8SZTYo/WmpJhgmwZeQghH6DouiIkXz/NDFhdGOLK8tCst8ICDQK1H7SB8 MD5V9dawG/cy+LE+Nz8DwUP4Nzwof3j9h2su0GZE5ZrBkQ3U/p0nZ9DjLpSU1mYI+U+w Rr2bz5uyTwAk7b6QTlesYdYK/T7+fTJ5+WdxgEuxkigCnszR+c9tMggD+zCkzDORzzI/ yiQg== X-Gm-Message-State: APjAAAWskH4Y6X2k8QOZjwR5qMdPe/6CdWzvGSsYPBSM2zRe0FoYGQ25 7zC8L6Owevb0bpU5iBMCS/N3LA== X-Received: by 2002:adf:f0ce:: with SMTP id x14mr4034064wro.121.1557421528049; Thu, 09 May 2019 10:05:28 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g10sm3400523wrw.80.2019.05.09.10.05.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 May 2019 10:05:24 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8F13C1FFA5; Thu, 9 May 2019 17:59:13 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Thu, 9 May 2019 17:59:06 +0100 Message-Id: <20190509165912.10512-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190509165912.10512-1-alex.bennee@linaro.org> References: <20190509165912.10512-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH v1 18/23] tests/qemu-iotests: Do not hard-code the path to bash X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Thomas Huth , "open list:Block layer core" , =?utf-8?q?Philippe_Ma?= =?utf-8?q?thieu-Daud=C3=A9?= , Max Reitz , Christian Borntraeger , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth bash is installed in a different directory on non-Linux systems like FreeBSD. Do not hard-code /bin/bash here so that the tests can run there, too. Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Acked-by: Christian Borntraeger Signed-off-by: Thomas Huth Message-Id: <20190502084506.8009-4-thuth@redhat.com> Signed-off-by: Alex Bennée --- tests/qemu-iotests/239 | 2 +- tests/qemu-iotests/240 | 2 +- tests/qemu-iotests/241 | 2 +- tests/qemu-iotests/243 | 2 +- tests/qemu-iotests/244 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/tests/qemu-iotests/239 b/tests/qemu-iotests/239 index 6f085d573da..b0991ffe594 100755 --- a/tests/qemu-iotests/239 +++ b/tests/qemu-iotests/239 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test case for dmg # diff --git a/tests/qemu-iotests/240 b/tests/qemu-iotests/240 index 65cc3b39b13..d3e663ed65c 100755 --- a/tests/qemu-iotests/240 +++ b/tests/qemu-iotests/240 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test hot plugging and unplugging with iothreads # diff --git a/tests/qemu-iotests/241 b/tests/qemu-iotests/241 index 017a736aaba..58b64ebf41f 100755 --- a/tests/qemu-iotests/241 +++ b/tests/qemu-iotests/241 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test qemu-nbd vs. unaligned images # diff --git a/tests/qemu-iotests/243 b/tests/qemu-iotests/243 index 5838c6e89cb..e563761307d 100755 --- a/tests/qemu-iotests/243 +++ b/tests/qemu-iotests/243 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test qcow2 preallocation # diff --git a/tests/qemu-iotests/244 b/tests/qemu-iotests/244 index d8e71223058..13978f93d24 100755 --- a/tests/qemu-iotests/244 +++ b/tests/qemu-iotests/244 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test qcow2 with external data files #