summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-03-16 16:29:17 +0100
committerAleksander Machniak <alec@alec.pl>2013-03-16 16:29:17 +0100
commitb6fa7d54b852df88de1fa1b36d6221b143e85835 (patch)
tree4e49e0f1300a6924846af9cf7bfe76c7f370d629 /plugins/managesieve/tests
parentbb080af14d285361ee078514a1d995c096e0f790 (diff)
Add vacation-seconds extension support (RFC 6131)
Diffstat (limited to 'plugins/managesieve/tests')
-rw-r--r--plugins/managesieve/tests/src/parser_vacation_seconds12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/managesieve/tests/src/parser_vacation_seconds b/plugins/managesieve/tests/src/parser_vacation_seconds
new file mode 100644
index 000000000..75cbcae46
--- /dev/null
+++ b/plugins/managesieve/tests/src/parser_vacation_seconds
@@ -0,0 +1,12 @@
+require ["vacation-seconds"];
+# rule:[test-vacation]
+if header :contains "Subject" "vacation"
+{
+ vacation :seconds 0 text:
+# test
+test test /* test */
+test
+.
+;
+ stop;
+}