From patchwork Thu May 7 16:08:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omer Zilberberg X-Patchwork-Id: 6359291 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 696C4BEEE1 for ; Thu, 7 May 2015 16:08:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C0E6203B5 for ; Thu, 7 May 2015 16:08:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19828203AF for ; Thu, 7 May 2015 16:08:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751337AbbEGQIw (ORCPT ); Thu, 7 May 2015 12:08:52 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:34899 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbbEGQIw (ORCPT ); Thu, 7 May 2015 12:08:52 -0400 Received: by wgyo15 with SMTP id o15so48510692wgy.2 for ; Thu, 07 May 2015 09:08:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5Y0RrfvwY4PsM4/7hFM50rIXa19dP7mM1/FEsjWZ9ek=; b=LuvI32X05FG9aLcSNtkWT3qvOLKhL/4sq56gZ+/DaNC63Iz55tSPIA3lPgyC9iKZTq zdzLF0fg3bvCB4bVtYT3ZZgYToEWVc3yUZZ5n52bPujWX+FSBfCbwYcEBnDgbqDiHHGc 52kD2bFJlWWdUEK0+dUiQCsKyr69KDyWaha0Ib8iajFhA1uya2hM8/xghbuLzM2Au3gu pNpWSyPG0P/PfGDnQbabzr8cS7MtXYYIsDupmcqmK8T/GyMPjbCsKPrdDR7yrDlKbpzS WWMHgPabB8EQA/X1Ywok6ojPjLAI2cvh/5i/gYGGE097s5cTNgRWzY0j1eIbCpyhFZ7Z jwoQ== X-Gm-Message-State: ALoCoQk7c3Ub0j4ilCTmpeiNoQwKY2eVfrclkPQ7B8oULoqt7Z39zbyjg8PvnJ1uS/uii0vqaYHa X-Received: by 10.180.210.235 with SMTP id mx11mr7723893wic.95.1431014930993; Thu, 07 May 2015 09:08:50 -0700 (PDT) Received: from localhost.localdomain ([46.19.85.38]) by mx.google.com with ESMTPSA id be3sm4653478wib.21.2015.05.07.09.08.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2015 09:08:50 -0700 (PDT) From: Omer Zilberberg To: fstests@vger.kernel.org Cc: Omer Zilberberg Subject: [PATCH] _require_command: fixed typo Date: Thu, 7 May 2015 19:08:36 +0300 Message-Id: <1431014916-1951-1-git-send-email-omzg@plexistor.com> X-Mailer: git-send-email 1.9.3 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP fixes 9435b92 common: _require_command needs to handle parameters Signed-off-by: Omer Zilberberg Reviewed-by: Eric Sandeen --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 6ea107e..cd0f3e6 100644 --- a/common/rc +++ b/common/rc @@ -1299,7 +1299,7 @@ _require_command() fi _command=`echo "$1" | awk '{ print $1 }'` - if [ ! -x $command ]; then + if [ ! -x $_command ]; then _notrun "$_name utility required, skipped this test" fi }