diff mbox series

xfs/278: use _scratch_xfs_repair helper instead of xfs_repair

Message ID 20190528162744.18359-1-ailiopoulos@suse.com (mailing list archive)
State New, archived
Headers show
Series xfs/278: use _scratch_xfs_repair helper instead of xfs_repair | expand

Commit Message

Anthony Iliopoulos May 28, 2019, 4:27 p.m. UTC
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 mbox series

Patch

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