]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jn/pager-lv-default-env'
authorJunio C Hamano <gitster@pobox.com>
Fri, 31 Jan 2014 18:51:57 +0000 (10:51 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jan 2014 18:51:57 +0000 (10:51 -0800)
A finishing touch to its test.

* jn/pager-lv-default-env:
  pager test: make fake pager consume all its input

t/t7006-pager.sh

index 7fe3367b6b6b8f4373dfdb9ffc956f8e1670801a..b9365b431d1e412905ddd0efad1f809625224ba9 100755 (executable)
@@ -40,7 +40,7 @@ test_expect_failure TTY 'pager runs from subdir' '
 test_expect_success TTY 'LESS and LV envvars are set for pagination' '
        (
                sane_unset LESS LV &&
-               PAGER="env >pager-env.out" &&
+               PAGER="env >pager-env.out; wc" &&
                export PAGER &&
 
                test_terminal git log