]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs/278: use _scratch_xfs_repair helper instead of xfs_repair
authorAnthony Iliopoulos <ailiopoulos@suse.com>
Tue, 28 May 2019 16:27:44 +0000 (18:27 +0200)
committerEryu Guan <guaneryu@gmail.com>
Thu, 30 May 2019 01:52:12 +0000 (09:52 +0800)
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>
tests/xfs/278

index c208e61bf6b65b9f0d09fd0b17fb1bd779e6c4a4..ee1464ddaec270834b18d5b82e6d37efe6a1b0a8 100755 (executable)
@@ -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