summaryrefslogtreecommitdiff
path: root/sieve
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-18 17:14:11 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-18 17:14:11 +0000
commiteaaf8356d1bf52a78956f3dcbcc7a719aa2e0ad9 (patch)
tree860c85aa88fe81e2af5d753c912aac7bb5ba2d25 /sieve
parent021d56e4fae129515306bd977afaccc519b260c2 (diff)
downloadmailutils-eaaf8356d1bf52a78956f3dcbcc7a719aa2e0ad9.tar.gz
mailutils-eaaf8356d1bf52a78956f3dcbcc7a719aa2e0ad9.tar.bz2
Added redirect.exp and reject.exp
Diffstat (limited to 'sieve')
-rw-r--r--sieve/testsuite/sieve/DISTFILES2
-rw-r--r--sieve/testsuite/sieve/redirect.exp29
-rw-r--r--sieve/testsuite/sieve/reject.exp29
3 files changed, 60 insertions, 0 deletions
diff --git a/sieve/testsuite/sieve/DISTFILES b/sieve/testsuite/sieve/DISTFILES
index 2e1a297de..34aba2a2a 100644
--- a/sieve/testsuite/sieve/DISTFILES
+++ b/sieve/testsuite/sieve/DISTFILES
@@ -7,5 +7,7 @@ exists.exp
false.exp
header.exp
not.exp
+redirect.exp
+reject.exp
size.exp
true.exp
diff --git a/sieve/testsuite/sieve/redirect.exp b/sieve/testsuite/sieve/redirect.exp
new file mode 100644
index 000000000..918704d3a
--- /dev/null
+++ b/sieve/testsuite/sieve/redirect.exp
@@ -0,0 +1,29 @@
+# -*- tcl -*-
+# This file is part of Mailutils testsuite.
+# Copyright (C) 2002, Free Software Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+set mtafile "$MU_FOLDER_DIR/mta.diag"
+set env(MTA_DIAG) "$mtafile"
+set env(MTA_APPEND) 1
+
+set mailer "sendmail:$top_builddir/examples/mta"
+
+sieve_driver_test "Redirect" "$mailer" "$mtafile"
+
+# End of redirect.exp
+
+
diff --git a/sieve/testsuite/sieve/reject.exp b/sieve/testsuite/sieve/reject.exp
new file mode 100644
index 000000000..648ff02d6
--- /dev/null
+++ b/sieve/testsuite/sieve/reject.exp
@@ -0,0 +1,29 @@
+# -*- tcl -*-
+# This file is part of Mailutils testsuite.
+# Copyright (C) 2002, Free Software Foundation
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+set mtafile "$MU_FOLDER_DIR/mta.diag"
+set env(MTA_DIAG) "$mtafile"
+set env(MTA_APPEND) 1
+
+set mailer "sendmail:$top_builddir/examples/mta"
+
+sieve_driver_test "Reject" "$mailer" "$mtafile"
+
+# End of redirect.exp
+
+

Return to:

Send suggestions and report system problems to the System administrator.