summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-29 12:52:45 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-29 12:52:45 -0800
commit16e6e7284f691c8efc0a75cdecace83edbdedbaa (patch)
tree483b390a4ba53adc595dcbd825ff57d650061bb0 /t/test-lib.sh
parent175bd3b0d0aef3af1bf2595840eebd7af9c1d1a5 (diff)
parent59defcc36839d549a2db94b7569025ea3b4ec01a (diff)
downloadgit-16e6e7284f691c8efc0a75cdecace83edbdedbaa.tar.gz
Merge branch 'jk/send-email-sender-prompt'
General clean-ups in various areas, originally written to support a patch that later turned out to be unneeded. * jk/send-email-sender-prompt: t9001: check send-email behavior with implicit sender t: add tests for "git var" ident: keep separate "explicit" flags for author and committer ident: make user_ident_explicitly_given static t7502: factor out autoident prerequisite test-lib: allow negation of prerequisites
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 489bc80fc1..0334a9e8fd 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -738,6 +738,12 @@ test_lazy_prereq UTF8_NFD_TO_NFC '
esac
'
+test_lazy_prereq AUTOIDENT '
+ sane_unset GIT_AUTHOR_NAME &&
+ sane_unset GIT_AUTHOR_EMAIL &&
+ git var GIT_AUTHOR_IDENT
+'
+
# When the tests are run as root, permission tests will report that
# things are writable when they shouldn't be.
test -w / || test_set_prereq SANITY