ident: reject all-crud ident name
[gitweb.git] / t / t7518-ident-corner-cases.sh
index 6c057afc116fe3e9c20e0e4b0ee68a32bf066a9a..667f110f59302e84a816cf764d7c0eebfc293642 100755 (executable)
@@ -17,4 +17,9 @@ test_expect_success 'empty name and missing email' '
        )
 '
 
+test_expect_success 'commit rejects all-crud name' '
+       test_must_fail env GIT_AUTHOR_NAME=" .;<>" \
+               git commit --allow-empty -m foo
+'
+
 test_done