summaryrefslogtreecommitdiff
path: root/libproto/dotmail/tests/testsuite.at
diff options
context:
space:
mode:
Diffstat (limited to 'libproto/dotmail/tests/testsuite.at')
-rw-r--r--libproto/dotmail/tests/testsuite.at17
1 files changed, 17 insertions, 0 deletions
diff --git a/libproto/dotmail/tests/testsuite.at b/libproto/dotmail/tests/testsuite.at
index 10e73489f..12a3b506e 100644
--- a/libproto/dotmail/tests/testsuite.at
+++ b/libproto/dotmail/tests/testsuite.at
@@ -28,6 +28,22 @@ $2
[0],
[$4])
AT_CLEANUP])
+
+dnl DM_MESG([NAME],[MBOX],[PRE],[POST],[INPUT],[OUTPUT])
+m4_define([DM_MESG],
+ [AT_SETUP($1)
+AT_CHECK(
+ [AT_DATA([dmbx],[$2])
+AT_DATA([input],[$5])
+MAIL=./dmbx
+export MAIL
+$3
+dm_mesg < input
+$4
+],
+[0],
+[$6])
+AT_CLEANUP])
AT_INIT
m4_include([count.at])
@@ -43,4 +59,5 @@ m4_include([qget.at])
m4_include([append.at])
m4_include([delete.at])
m4_include([autodetect.at])
+m4_include([setattr.at])

Return to:

Send suggestions and report system problems to the System administrator.