summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2005-08-11 02:10:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-12 01:26:15 (GMT)
commitd9bdd39eee54ebd77bc01235c00e827ddbe892d0 (patch)
treec8401ef169b4bdcbac2ad3a8e566b31e680c9b98
parentda7bc9b081ad8e45c997678c4ab4e7da9cd335ed (diff)
downloadgit-d9bdd39eee54ebd77bc01235c00e827ddbe892d0.zip
git-d9bdd39eee54ebd77bc01235c00e827ddbe892d0.tar.gz
git-d9bdd39eee54ebd77bc01235c00e827ddbe892d0.tar.bz2
[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 e62bd04..5cdd41d 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