git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Need to set PAGER in tests
@ 2005-08-11  2:10 Pavel Roskin
  2005-08-11  5:50 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Roskin @ 2005-08-11  2:10 UTC (permalink / raw)
  To: git

Hello!

"t5400-send-pack.sh --verbose" stops waiting for user input.  It happens
because "git log" uses less for output now.  To prevent this, PAGER
should be set to cat.

Signed-off-by: Pavel Roskin <proski@gnu.org>

diff --git a/t/test-lib.sh b/t/test-lib.sh
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -5,8 +5,9 @@
 
 # For repeatability, reset the environment to known value.
 LANG=C
+PAGER=cat
 TZ=UTC
-export LANG TZ
+export LANG PAGER TZ
 unset AUTHOR_DATE
 unset AUTHOR_EMAIL
 unset AUTHOR_NAME

-- 
Regards,
Pavel Roskin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Need to set PAGER in tests
  2005-08-11  2:10 [PATCH] Need to set PAGER in tests Pavel Roskin
@ 2005-08-11  5:50 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2005-08-11  5:50 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: git

Pavel Roskin <proski@gnu.org> writes:

> "t5400-send-pack.sh --verbose" stops waiting for user input.  It happens
> because "git log" uses less for output now.  To prevent this, PAGER
> should be set to cat.

Good catch, thanks.

I did not notice this before, because I always work in Emacs
compilation buffer, setting PAGER to cat and EDITOR to
emacsclient.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-11  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11  2:10 [PATCH] Need to set PAGER in tests Pavel Roskin
2005-08-11  5:50 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).