mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: Don't use gawk's strtonum
It's a gawk extension and not needed. Make tests pass with non-gawk. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
313f26e05f
commit
37520a314b
+1
-1
@@ -75,7 +75,7 @@ _filter_quota_rpt() {
|
||||
# This function parses the human-readable values produced
|
||||
# by xfs_quota output
|
||||
function byte_size(value, result) {
|
||||
result = strtonum(value);
|
||||
result = value;
|
||||
unit = value;
|
||||
gsub("[0-9][0-9]*", "", unit);
|
||||
shift = index("KMGTPE", unit);
|
||||
|
||||
Reference in New Issue
Block a user