list-objects-filter: don't memset after releasing filter struct
[git/debian.git] / t / lib-pager.sh
blobe5eb28df4ef6cc80fe24c728595d683ab3d00b85
1 # Helpers for tests of git's choice of pager.
3 test_expect_success 'determine default pager' '
4 test_might_fail git config --unset core.pager &&
5 less=$(
6 sane_unset PAGER GIT_PAGER &&
7 git var GIT_PAGER
8 ) &&
9 test -n "$less"
12 if expr "$less" : '[a-z][a-z]*$' >/dev/null
13 then
14 test_set_prereq SIMPLEPAGER