test: Exercise magic-from guessing with a single configured address
authorCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 17:13:04 +0000 (10:13 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 18:06:00 +0000 (11:06 -0700)
commit467f819827e2e52fabd2dfdd3890fe538b22cbe3
treeda7dfb740572f8fca4eb09c13b6b84f204e46be6
parent3d64993586af7286c6b0fc56bdcef19ae7813c80
test: Exercise magic-from guessing with a single configured address

Immediately after releasing 0.3 we learned that the magic-from-guessing
code could hang in an infinite loop in some cases. The bug occurred
only when the user had configured only a primary email addresss and no
other email addresses.

The test suite wasn't previously covering this case, so address this
shortcoming.
(cherry picked from commit e0f561049809f2b29068d59b38fce3213131bbd6)
test/notmuch-test