summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-02-13 12:00:55 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-02-13 12:09:33 +0000
commit7f8394e7c983b1c199866fc6b1c14feb857b651d (patch)
tree9b314e6a90f5cd55c4ac94c409a08cfad2191f43 /test
parentb7c6d0ccbc57c958954205b2c9d70528b9688c1a (diff)
Fix include_directory in redirect routers. Bug 2715
Broken-by: 10c50704c1
Diffstat (limited to 'test')
-rw-r--r--test/confs/03134
-rw-r--r--test/log/03132
-rw-r--r--test/scripts/0000-Basic/03132
3 files changed, 7 insertions, 1 deletions
diff --git a/test/confs/0313 b/test/confs/0313
index 7849526db..58fca2c84 100644
--- a/test/confs/0313
+++ b/test/confs/0313
@@ -2,7 +2,6 @@
.include DIR/aux-var/std_conf_prefix
-
# ----- Main settings -----
@@ -20,6 +19,9 @@ r1:
r2:
driver = redirect
local_parts = include
+.ifdef INC
+ include_directory = DIR/
+.endif
data = :include:DIR/test-holey
diff --git a/test/log/0313 b/test/log/0313
index 1e6217daf..bfece419f 100644
--- a/test/log/0313
+++ b/test/log/0313
@@ -1,3 +1,5 @@
1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss
1999-03-02 09:44:33 10HmaX-0005vi-00 == include@the.local.host.name R=r2 defer (-17): error in redirect data: included file TESTSUITE/test-holey is too big (max 1048576)
1999-03-02 09:44:33 10HmaX-0005vi-00 == filter@the.local.host.name R=r1 defer (-1): TESTSUITE/test-holey is too big (max 1048576)
+1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss
+1999-03-02 09:44:33 10HmaY-0005vi-00 == include@the.local.host.name R=r2 defer (-17): error in redirect data: included file TESTSUITE/test-holey is too big (max 1048576)
diff --git a/test/scripts/0000-Basic/0313 b/test/scripts/0000-Basic/0313
index c118a28d8..32f288a25 100644
--- a/test/scripts/0000-Basic/0313
+++ b/test/scripts/0000-Basic/0313
@@ -10,4 +10,6 @@ close(OUT);
#
exim -odi filter include
****
+exim -DINC -odi include
+****
no_msglog_check