mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
test: Verify mailbox delivery in minor dialogs test
The minor dialogs test covers some very specific SMTP exchanges, and some of those include delivering email. Today, we don't verify the final mailbox, we just check the SMTP exchange. However, it can be very useful for some of the tests to do end-to-end checking of the final mailbox. This patch implements that ability in the test itself, and on the (currently only) email delivering dialog. Subsequent patches that introduce new tests will make use of this feature.
This commit is contained in:
6
test/t-12-minor_dialogs/sendmail.cmy.verify
Normal file
6
test/t-12-minor_dialogs/sendmail.cmy.verify
Normal file
@@ -0,0 +1,6 @@
|
||||
From: Mailer daemon <somewhere@horns.com>
|
||||
Subject: I've come to haunt you
|
||||
|
||||
Muahahahaha
|
||||
|
||||
|
||||
Reference in New Issue
Block a user