[PATCH] Need to set PAGER in tests
authorPavel Roskin <proski@gnu.org>
Thu, 11 Aug 2005 02:10:01 +0000 (22:10 -0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 12 Aug 2005 01:26:15 +0000 (18:26 -0700)
"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>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/test-lib.sh

index e62bd0408ca217f1423801258b0244db6984ea77..5cdd41dd930358b8ef10ac1f3259df150ee50fa5 100755 (executable)
@@ -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