From: Anthony Iliopoulos Date: Tue, 28 May 2019 16:27:44 +0000 (+0200) Subject: xfs/278: use _scratch_xfs_repair helper instead of xfs_repair X-Git-Tag: v2022.05.01~1145 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=81d4ff4e23d158281adac5259e9cefeacec85a1f;p=users%2Fhch%2Fxfstests-dev.git xfs/278: use _scratch_xfs_repair helper instead of xfs_repair 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 Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/278 b/tests/xfs/278 index c208e61bf..ee1464dda 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