summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Pavel Roskin <proski@gnu.org>2005-08-10 22:10:01 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2005-08-11 18:26:15 -0700
commitd9bdd39eee54ebd77bc01235c00e827ddbe892d0 (patch)
treec8401ef169b4bdcbac2ad3a8e566b31e680c9b98
parent[PATCH] Missing test_done (diff)
downloadtgif-d9bdd39eee54ebd77bc01235c00e827ddbe892d0.tar.xz
[PATCH] Need to set PAGER in tests
"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>
-rwxr-xr-xt/test-lib.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index e62bd0408c..5cdd41dd93 100755
--- 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