Thread (4 messages) 4 messages, 3 authors, 2016-06-15

Re: [PATCH] pager: set LV=-c alongside LESS=FRSX

flat view

From: Anders Kaseorg <hidden>
Date: 2016-06-15 22:59:46

Possibly related (same subject, not in this thread)

On 01/06/2014 09:14 PM, Jonathan Nieder wrote:
quoted hunk ↗ jump to hunk
+test_expect_success TTY 'LESS and LV envvars are set for pagination' '
+	(
+		sane_unset LESS LV &&
+		PAGER="env >pager-env.out" &&
+		export PAGER &&
+
+		test_terminal git log
+	) &&
+	grep ^LESS= pager-env.out &&
+	grep ^LV= pager-env.out
+'
+
On the Ubuntu PPA builders, I’m seeing this new test fail with SIGPIPE about half the time:

died of signal 13 at /build/buildd/git-1.9~rc1/t/test-terminal.perl line 33.
not ok 6 - LESS and LV envvars are set for pagination

Although the test seems to work locally for me, I can reproduce a similar failure just by running

$ GIT_PAGER='env >pager-env.out' ./test-terminal.perl git log
died of signal 13 at ./test-terminal.perl line 33.

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