blob: 92c1fd13e6ca64e8668c1e5704d84fabe76c650a (
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
|
require "vnd.dovecot.testsuite";
require "vnd.dovecot.execute";
require "variables";
test_config_set "sieve_execute_bin_dir" "${tst.path}/../bin";
test_config_reload :extension "vnd.dovecot.execute";
test "Basic" {
execute "program";
}
test "Input message" {
execute :pipe "program";
}
test "Input string" {
execute :input "DATA" "program";
}
test "Input variable" {
set "DATA" "DATA";
execute :input "${DATA}" "program";
}
test "Output variable" {
execute :output "DATA" "program";
}
|