chiark / gitweb /
Don't split long and short description in "stg edit"
[stgit] / t / t1900-mail.sh
index 6a950b4b67650e0d1fef1cebd161eda919c122e0..78050dbcbc8605017de4b1df813a86c2af3605fd 100755 (executable)
@@ -6,6 +6,7 @@ test_description='Test the mail command'
 test_expect_success \
     'Initialize the StGIT repository' \
     '
+    git repo-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 &&
@@ -28,7 +29,7 @@ test_expect_success \
     stg pop -a &&
     stg import -M mbox0 &&
     t2=$(git cat-file -p $(stg id) | grep ^tree) &&
-    [ "$t1" == "$t2" ]
+    [ "$t1" = "$t2" ]
     '
 
 test_done