* tests/ls/ls-misc.pl: Add tests, generated by a loop over invalid
values, verifying that a negative (-9), non-numeric (zz), or
fractional (0.5) --tabsize argument is rejected with
"invalid tab size" and exit status 2.
https://github.com/uutils/coreutils/pull/13278
Link: https://github.com/coreutils/coreutils/pull/311
$rmdir_reg,
{EXIT => 2},
],
+
+ # Negative, non-numeric and fractional --tabsize values are invalid.
+ (map { ["tabsize-invalid-$_", "--tabsize=$_",
+ {ERR => "$prog: invalid tab size: '$_'\n"},
+ {EXIT => 2},
+ ] } qw(-9 zz 0.5)),
);
umask 022;