mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <ailiopoulos@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
5eec120ca0
commit
81d4ff4e23
+1
-1
@@ -69,7 +69,7 @@ set_ifield "core.nlinkv2" "$SUBDIR_INO"
|
|||||||
echo "===== BEGIN of xfs_repair =====" >> $seqres.full
|
echo "===== BEGIN of xfs_repair =====" >> $seqres.full
|
||||||
echo "" >>$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
|
echo "===== END of xfs_repair =====" >> $seqres.full
|
||||||
|
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user