On Fri, 2010-02-12 at 16:11 +0000, Catalin Marinas wrote: > The original implementation was asking for the SMTP password on every > patch sent. This patch only asks the password once before sending or > even editing the cover message and patches. I don't have time to investigate at the moment, but "make test" fails in t1900-mail.sh on the "proposed" branch, which includes this patch: *** t1900-mail.sh *** * ok 1: Initialize the StGIT repository * ok 2: Put all the patches in an mbox * ok 3: Import the mbox and compare * FAIL 4: Put all the patches in an mbox with patch attachments stg mail --to="Inge Ström <inge@xxxxxxxxxxx>" -a -m \ -t ../../templates/mailattch.tmpl > mbox1 * FAIL 5: Import the mbox containing patch attachments and compare t1=$(git cat-file -p $(stg id) | grep ^tree) stg pop -a && stg import -M mbox1 && t2=$(git cat-file -p $(stg id) | grep ^tree) && [ "$t1" = "$t2" ] * FAIL 6: Check the To:, Cc: and Bcc: headers stg mail --to=a@a --cc="b@b, c@c" --bcc=d@d $(stg top) -m \ -t ../../templates/patchmail.tmpl > mbox && test "$(cat mbox | grep -e "^To:")" = "To: a@a" && test "$(cat mbox | grep -e "^Cc:")" = "Cc: b@b, c@c" && test "$(cat mbox | grep -e "^Bcc:")" = "Bcc: d@d" * FAIL 7: Check the --auto option stg edit --sign && stg mail --to=a@a --cc="b@b, c@c" --bcc=d@d --auto $(stg top) -m \ -t ../../templates/patchmail.tmpl > mbox && test "$(cat mbox | grep -e "^To:")" = "To: a@a" && test "$(cat mbox | grep -e "^Cc:")" = \ "Cc: C O Mitter <committer@xxxxxxxxxxx>, b@b, c@c" && test "$(cat mbox | grep -e "^Bcc:")" = "Bcc: d@d" * FAIL 8: Check the e-mail address duplicates stg mail --to="a@a, b b <b@b>" --cc="b@b, c@c" \ --bcc="c@c, d@d, committer@xxxxxxxxxxx" --auto $(stg top) -m \ -t ../../templates/patchmail.tmpl > mbox && test "$(cat mbox | grep -e "^To:")" = "To: b b <b@b>, a@a" && test "$(cat mbox | grep -e "^Cc:")" = "Cc: c@c" && test "$(cat mbox | grep -e "^Bcc:")" = "Bcc: committer@xxxxxxxxxxx, d@d" * failed 5 among 8 test(s) make[1]: *** [t1900-mail.sh] Error 1 make[1]: Leaving directory `/home/proski/src/stgit/t' make: *** [test] Error 2 -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html