fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs/278: use _scratch_xfs_repair helper instead of xfs_repair
@ 2019-05-28 16:27 Anthony Iliopoulos
  0 siblings, 0 replies; only message in thread
From: Anthony Iliopoulos @ 2019-05-28 16:27 UTC (permalink / raw)
  To: fstests; +Cc: Anthony Iliopoulos

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-28 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 16:27 [PATCH] xfs/278: use _scratch_xfs_repair helper instead of xfs_repair Anthony Iliopoulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).