aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test911
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test911')
-rw-r--r--tests/data/test91148
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test911 b/tests/data/test911
new file mode 100644
index 000000000..6b7a1f40e
--- /dev/null
+++ b/tests/data/test911
@@ -0,0 +1,48 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP with no mail data
+ </name>
+
+<stdin nonewline="yes">
+
+</stdin>
+
+ <command>
+smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 911@foo --mail-rcpt 911@foobar.example --mail-from 911@from -T -
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO user
+MAIL FROM:<911@from>
+RCPT TO:<911@foo>
+RCPT TO:<911@foobar.example>
+DATA
+QUIT
+</protocol>
+<upload>
+
+.
+</upload>
+</verify>
+</testcase>