tests: tail: ensure tail accepts a huge --max-unchanged-stats value

Reported at https://github.com/uutils/coreutils/issues/16007

* tests/tail/tail.pl: Add test case.

Link: https://github.com/coreutils/coreutils/pull/437
This commit is contained in:
Sylvestre Ledru authored and Pádraig Brady committed 2026-11-07 12:35:10 +00:00
1 parent 9fb2a03a63
commit 42a8f28c00
1 file changed
+4
+4
View File
@@ -102,6 +102,10 @@ my @tv = (
# --zero-terminated
['zero-1', '-z -n 1', "x\0y", "y", 0],
['zero-2', '-z -n 2', "x\0y", "x\0y", 0],
# A huge --max-unchanged-stats value is accepted.
['max-unchanged-stats-huge', '--max-unchanged-stats=99999999999999999999',
"a\n", "a\n", 0],
);
my @Tests;