mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: remove unused XFSPROGS_VERSION check
This was only used to check for mkfs.xfs -n version=ci support, which is carried in xfsprogs >= 2.10. _require_xfs_mkfs_ciname() is now used to explicitly check for the mkfs parameter. Suggested-by: Eryu Guan <eguan@redhat.com> Signed-off-by: David Disseldorp <ddiss@suse.de> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
31da5626e9
commit
81b0eded2e
@@ -223,21 +223,6 @@ if [ "$UDEV_SETTLE_PROG" == "" ]; then
|
|||||||
fi
|
fi
|
||||||
export UDEV_SETTLE_PROG
|
export UDEV_SETTLE_PROG
|
||||||
|
|
||||||
# Generate a comparable xfsprogs version number in the form of
|
|
||||||
# major * 10000 + minor * 100 + release
|
|
||||||
#
|
|
||||||
# $ xfs_db -V
|
|
||||||
# xfs_db version 2.9.7
|
|
||||||
#
|
|
||||||
# so, 2.9.7 = 20907
|
|
||||||
_version=`$XFS_DB_PROG -V | $AWK_PROG '
|
|
||||||
/version/ {
|
|
||||||
if (split($3,ver,".") == 3)
|
|
||||||
print (ver[1] * 10000) + (ver[2] * 100) + ver[3];
|
|
||||||
}'`
|
|
||||||
[ -z "$_version" ] && _fatal "xfsprogs version cannot be found"
|
|
||||||
export XFSPROGS_VERSION="$_version"
|
|
||||||
|
|
||||||
case "$HOSTOS" in
|
case "$HOSTOS" in
|
||||||
IRIX*)
|
IRIX*)
|
||||||
export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`"
|
export MKFS_XFS_PROG="`set_prog_path mkfs_xfs`"
|
||||||
|
|||||||
Reference in New Issue
Block a user