git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Need to set PAGER in tests

From
PRPavel Roskin <proski@gnu.org>
Date
Aug 11, 2005, 02:10 UTC
Message-ID
<1123726201.18644.10.camel@dv>
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
Next: Junio C Hamano
Message 1 of 2 in “Need to set PAGER in tests”
  1. Need to set PAGER in testsPavel Roskin, Aug 11, 2005
  2. Junio C HamanoAug 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.