diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh
index 1890c65fa123e40f956d2c12d6bbe2ecfbcc59d8..017565f3329795b9c8cd39b76fa03e2a16bb3067 100755 (executable)
--- a/t/t7006-pager.sh
+++ b/t/t7006-pager.sh
! test -e paginated.out
'
+test_expect_success 'git config uses a pager if configured to' '
+ rm -f paginated.out &&
+ git config pager.config true &&
+ test_when_finished "git config --unset pager.config" &&
+ test_terminal git config --list &&
+ test -e paginated.out
+'
+
test_expect_success 'configuration can enable pager (from subdir)' '
rm -f paginated.out &&
mkdir -p subdir &&