Thread (10 messages) 10 messages, 5 authors, 2021-06-29

Re: [PATCH] progress.c tests: fix breakage with COLUMNS != 80

From: Jeff King <hidden>
Date: 2021-06-24 05:40:20

On Thu, Jun 24, 2021 at 07:12:53AM +0200, SZEDER Gábor wrote:
quoted
I admit this a _bit_ of a nitpick (since as far as we know none of the
other scripts care about the terminal width), so I'm OK with this as-is
if you feel strongly the other way.
I remember one commit-graph test that does check the number of lines
in the progress output, assuming one progress line per commit-graph
layer, which breaks when we break the progress line in a too narrow
terminal.  Running './t5324-split-commit-graph.sh -v -i' in a 46
column wide terminal fails for me, but succeeds with 47 columns.

I do suggest setting COLUMNS=80 in 'test-lib.sh'.
Thanks for providing a concrete example. I agree we should just set it
for all scripts via test-lib.sh, then.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help