]> git.ipfire.org Git - thirdparty/git.git/blame - t/lib-pager.sh
l10n: fr v2.23.0 round 2
[thirdparty/git.git] / t / lib-pager.sh
CommitLineData
c74c7203 1# Helpers for tests of git's choice of pager.
678e484b
JS
2
3test_expect_success 'determine default pager' '
4 test_might_fail git config --unset core.pager &&
5 less=$(
6 unset PAGER GIT_PAGER;
7 git var GIT_PAGER
8 ) &&
9 test -n "$less"
10'
11
832ac79e 12if expr "$less" : '[a-z][a-z]*$' >/dev/null
678e484b
JS
13then
14 test_set_prereq SIMPLEPAGER
15fi