All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Iliopoulos <ailiopoulos@suse.com>
To: fstests@vger.kernel.org
Cc: Anthony Iliopoulos <ailiopoulos@suse.com>
Subject: [PATCH] xfs/278: use _scratch_xfs_repair helper instead of xfs_repair
Date: Tue, 28 May 2019 18:27:44 +0200	[thread overview]
Message-ID: <20190528162744.18359-1-ailiopoulos@suse.com> (raw)

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 <ailiopoulos@suse.com>
---
 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
-- 
2.16.4

                 reply	other threads:[~2019-05-28 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190528162744.18359-1-ailiopoulos@suse.com \
    --to=ailiopoulos@suse.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.