Make this test pass with non-gawk. Signed-off-by: Kusanagi Kouichi <slash@xxxxxxxxxxxxxxx> --- tests/xfs/009 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/xfs/009 b/tests/xfs/009 index 6a31514c..956c4772 100755 --- a/tests/xfs/009 +++ b/tests/xfs/009 @@ -66,12 +66,12 @@ _block_filter() /CMD/ { split($3, off, "=") - offset = strtonum(off[2]) + offset = off[2] if (offset != -1) offset = offset / bsize split($4, len, "=") - nr_blocks = strtonum(len[2]) + nr_blocks = len[2] if (nr_blocks != -1) nr_blocks = nr_blocks / bsize @@ -82,13 +82,13 @@ _block_filter() /MAP/ { split($2, off, "=") - offset = strtonum(off[2]) + offset = off[2] if (offset != -1) offset = offset / bsize split($3, len, "=") - nr_blocks = strtonum(len[2]) + nr_blocks = len[2] if (nr_blocks != -1) nr_blocks = nr_blocks / bsize @@ -100,7 +100,7 @@ _block_filter() /TRUNCATE/ { split($2, off, "=") - offset = strtonum(off[2]) / bsize + offset = off[2] / bsize printf(" %s off=%s\n", $1, offset) -- 2.24.0