HomeFreeBSD

ZTS: Remove non-standard awk hex numbers usage

Description

ZTS: Remove non-standard awk hex numbers usage

FreeBSD recently removed non-standard hex numbers support from awk.
Neither it supports -n argument, enabling it in gawk. Instead of
depending on those rewrite list_file_blocks() fuction to handle the
hex math in shell instead of awk.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by:Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #11141

Details

Provenance
mavAuthored on Dec 20 2024, 3:54 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 29 2024, 7:17 PM
Parents
rGc4e5fa5e175f: ZTS: test clearing pool and vdev userprops
Branches
Unknown
Tags
Unknown

Event Timeline