]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib.sh
t7502: factor out autoident prerequisite
[thirdparty/git.git] / t / test-lib.sh
index 489bc80fc1b1ba4066a1fd5ad6d2024d67160ba7..0334a9e8fd761b8415f7beb5d70794bc5be33dfd 100644 (file)
@@ -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