From: Darrick J. Wong Date: Wed, 10 Feb 2021 02:56:25 +0000 (-0800) Subject: config: wrap xfs_metadump as $XFS_METADUMP_PROG like the other tools X-Git-Tag: v2022.05.01~553 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2d4fb6bb3078547be73abf4f9913c20813c1e467;p=xfstests-dev.git config: wrap xfs_metadump as $XFS_METADUMP_PROG like the other tools When we set up a fstests run, preserve the path xfs_metadump binary with an $XFS_METADUMP_PROG wrapper, like we do for the other xfsprogs tools. Signed-off-by: Darrick J. Wong Reviewed-by: Brian Foster Signed-off-by: Eryu Guan --- diff --git a/common/config b/common/config index d83dfb28..d4cf8089 100644 --- a/common/config +++ b/common/config @@ -156,6 +156,7 @@ MKSWAP_PROG="$MKSWAP_PROG -f" export XFS_LOGPRINT_PROG="$(type -P xfs_logprint)" export XFS_REPAIR_PROG="$(type -P xfs_repair)" export XFS_DB_PROG="$(type -P xfs_db)" +export XFS_METADUMP_PROG="$(type -P xfs_metadump)" export XFS_ADMIN_PROG="$(type -P xfs_admin)" export XFS_GROWFS_PROG=$(type -P xfs_growfs) export XFS_SPACEMAN_PROG="$(type -P xfs_spaceman)" diff --git a/common/rc b/common/rc index 7254130f..dbd91a31 100644 --- a/common/rc +++ b/common/rc @@ -499,7 +499,7 @@ _scratch_metadump() [ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_LOGDEV" ] && \ options="-l $SCRATCH_LOGDEV" - xfs_metadump $options "$@" $SCRATCH_DEV $dumpfile + $XFS_METADUMP_PROG $options "$@" $SCRATCH_DEV $dumpfile } _setup_large_ext4_fs()