blob: a6fe086c6a6b2f5b0ae0bbd95e01315d912c5a8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Used to cause the test suite to segfault
require "vnd.dovecot.testsuite";
require "fileinto";
require "imap4flags";
require "mailbox";
test_set "message" text:
Subject: Test message.
Test message.
.
;
test "Flag changes between stores" {
fileinto :create "FolderA";
if not test_result_execute {
test_fail "failed to execute first result";
}
test_message :folder "FolderA" 0;
test_result_reset;
test_message :folder "Uninteiesting" 0;
if not hasflag "$label1" {
test_fail "flags not stored for fired for third message";
}
}
|