aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-08-10 22:10:01 -0400
committerJunio C Hamano <junkio@cox.net>2005-08-11 18:26:15 -0700
commitd9bdd39eee54ebd77bc01235c00e827ddbe892d0 (patch)
treec8401ef169b4bdcbac2ad3a8e566b31e680c9b98 /t
parentda7bc9b081ad8e45c997678c4ab4e7da9cd335ed (diff)
downloadgit-d9bdd39eee54ebd77bc01235c00e827ddbe892d0.tar.gz
git-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>
Diffstat (limited to 't')
-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 e62bd0408..5cdd41dd9 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