]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: ls: check that an invalid --tabsize is diagnosed
authorSylvestre Ledru <sylvestre@debian.org>
Sat, 4 Jul 2026 19:15:00 +0000 (21:15 +0200)
committerPádraig Brady <P@draigBrady.com>
Mon, 6 Jul 2026 13:23:58 +0000 (14:23 +0100)
commit440fe62502e4a2b131dc1844a00c351fdfa110c7
treee7eb7c087b4bd6898be9f40688e2f86b1157239d
parent165b62de8083ed9dec9ef4e1699ed44c3c7a2b91
tests: ls: check that an invalid --tabsize is diagnosed

* 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
tests/ls/ls-misc.pl