chiark / gitweb /
Fix the behaviour when there is no user information configured
[stgit] / t / t1900-mail.sh
index 6a950b4b67650e0d1fef1cebd161eda919c122e0..4be7270ca8c173dd2154cdcb2406cc0e692c1c61 100755 (executable)
@@ -6,6 +6,7 @@ test_description='Test the mail command'
 test_expect_success \
     'Initialize the StGIT repository' \
     '
+    git config stgit.sender "A U Thor <author@example.com>" &&
     for i in 1 2 3 4 5; do
       touch foo.txt &&
       echo "line $i" >> foo.txt &&