dovecot-2.2-pigeonhole: Fixed test suite for vnd.dovecot.execute...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Fri Apr 19 10:15:18 EEST 2013
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/2688c750b426
changeset: 1752:2688c750b426
user: Stephan Bosch <stephan at rename-it.nl>
date: Fri Apr 19 09:15:01 2013 +0200
description:
Fixed test suite for vnd.dovecot.execute extension.
Testsuite hostname is now true local hostname.
diffstat:
tests/plugins/extprograms/execute/execute.svtest | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 70f0b7140939 -r 2688c750b426 tests/plugins/extprograms/execute/execute.svtest
--- a/tests/plugins/extprograms/execute/execute.svtest Fri Apr 12 20:25:02 2013 +0200
+++ b/tests/plugins/extprograms/execute/execute.svtest Fri Apr 19 09:15:01 2013 +0200
@@ -3,6 +3,7 @@
require "vnd.dovecot.debug";
require "variables";
require "relational";
+require "environment";
test_set "message" text:
From: stephan at example.com
@@ -70,8 +71,8 @@
}
execute :output "out" "env" "HOST";
- if not string :is "${out}" "host.example.com" {
- test_fail "wrong ORIG_RECIPIENT env returned: '${out}'";
+ if not environment :is "host" "${out}" {
+ test_fail "wrong HOST env returned: '${out}'";
}
execute :output "out" "env" "HOME";
More information about the dovecot-cvs
mailing list