From patchwork Wed Aug 3 22:58:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirill A . Shutemov" X-Patchwork-Id: 9262295 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8C45C6048B for ; Wed, 3 Aug 2016 22:59:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FD6627FA8 for ; Wed, 3 Aug 2016 22:59:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72DC92807E; Wed, 3 Aug 2016 22:59:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0880127FA8 for ; Wed, 3 Aug 2016 22:59:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932583AbcHCW7N (ORCPT ); Wed, 3 Aug 2016 18:59:13 -0400 Received: from mga01.intel.com ([192.55.52.88]:51953 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932976AbcHCW7M (ORCPT ); Wed, 3 Aug 2016 18:59:12 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 03 Aug 2016 15:58:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,468,1464678000"; d="scan'208";a="859300574" Received: from black.fi.intel.com ([10.237.72.93]) by orsmga003.jf.intel.com with ESMTP; 03 Aug 2016 15:58:22 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id A6D7E3BA; Thu, 4 Aug 2016 01:58:21 +0300 (EEST) From: "Kirill A. Shutemov" To: Theodore Ts'o Cc: linux-fsdevel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH 3/4] kvm-xfstests: do not assume /sbin/ in PATH Date: Thu, 4 Aug 2016 01:58:12 +0300 Message-Id: <1470265093-86525-4-git-send-email-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1470265093-86525-1-git-send-email-kirill.shutemov@linux.intel.com> References: <1470265093-86525-1-git-send-email-kirill.shutemov@linux.intel.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When kvm-xfstests run from non-root, PATH usually doesn't contain /sbin and /usr/sbin. Let's call '/sbin/mke2fs' insetead of 'mke2fs' Signed-off-by: Kirill A. Shutemov --- kvm-xfstests/setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kvm-xfstests/setup b/kvm-xfstests/setup index 6d78df60e784..1d61099ca399 100755 --- a/kvm-xfstests/setup +++ b/kvm-xfstests/setup @@ -5,8 +5,8 @@ qemu-img create -f raw vdd 5g qemu-img create -f raw vde 20g qemu-img create -f raw vdf 20g qemu-img create -f raw vdg 5g -mke2fs -t ext4 -F vdb -mke2fs -t ext4 -b 1024 -F vdd -mke2fs -t ext4 -F vdg +/sbin/mke2fs -t ext4 -F vdb +/sbin/mke2fs -t ext4 -b 1024 -F vdd +/sbin/mke2fs -t ext4 -F vdg