Files
coreutils/tests/fmt
Sylvestre Ledru 1d1f670e5a tests: fmt: cover the width derived from --goal
When only --goal is given, fmt sets the maximum width to the goal plus
ten (src/fmt.c), but nothing exercised that.
identified by https://github.com/uutils/coreutils/pull/14275

* tests/fmt/goal-option.sh: Check that "-g G" formats as "-g G -w G+10"
does, that the derived width is exactly G+10, that a goal of zero is
accepted, and that without -w the goal is still limited to 75.

Link: https://github.com/coreutils/coreutils/pull/358
2026-09-22 14:26:05 +01:00
..