diff --git a/t/t7006-pager.sh b/t/t7006-pager.sh
index 17e54d3e684f4ad786964694596be3723be5a7dd..5641b595596ea462ec649c531e7173709a012274 100755 (executable)
--- a/t/t7006-pager.sh
+++ b/t/t7006-pager.sh
colorful colorful.log
'
-if test_have_prereq SIMPLEPAGER && test_have_prereq TTY
-then
- test_set_prereq SIMPLEPAGERTTY
-fi
-
# Use this helper to make it easy for the caller of your
# terminal-using function to specify whether it should fail.
# If you write
test_default_pager() {
parse_args "$@"
- $test_expectation SIMPLEPAGERTTY "$cmd - default pager is used by default" "
+ $test_expectation SIMPLEPAGER,TTY "$cmd - default pager is used by default" "
unset PAGER GIT_PAGER;
test_might_fail git config --unset core.pager &&
rm -f default_pager_used ||