From patchwork Tue May 28 16:27:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Iliopoulos X-Patchwork-Id: 10965417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AAD41933 for ; Tue, 28 May 2019 16:27:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C4DE1FF66 for ; Tue, 28 May 2019 16:27:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 902EC2675C; Tue, 28 May 2019 16:27:37 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, 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 3AF651FF66 for ; Tue, 28 May 2019 16:27:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbfE1Q1h (ORCPT ); Tue, 28 May 2019 12:27:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:60140 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726313AbfE1Q1g (ORCPT ); Tue, 28 May 2019 12:27:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CD620AE07 for ; Tue, 28 May 2019 16:27:35 +0000 (UTC) From: Anthony Iliopoulos To: fstests@vger.kernel.org Cc: Anthony Iliopoulos Subject: [PATCH] xfs/278: use _scratch_xfs_repair helper instead of xfs_repair Date: Tue, 28 May 2019 18:27:44 +0200 Message-Id: <20190528162744.18359-1-ailiopoulos@suse.com> X-Mailer: git-send-email 2.16.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use _scratch_xfs_repair helper instead of calling xfs_repair directly, as local.config may want to define $XFS_REPAIR_PROG and override the default binary in the search path. Signed-off-by: Anthony Iliopoulos --- tests/xfs/278 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/278 b/tests/xfs/278 index c208e61b..ee1464dd 100755 --- a/tests/xfs/278 +++ b/tests/xfs/278 @@ -69,7 +69,7 @@ set_ifield "core.nlinkv2" "$SUBDIR_INO" echo "===== BEGIN of xfs_repair =====" >> $seqres.full echo "" >>$seqres.full -xfs_repair $SCRATCH_DEV >> $seqres.full 2>&1 +_scratch_xfs_repair >> $seqres.full 2>&1 echo "===== END of xfs_repair =====" >> $seqres.full exit