summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-03-11 23:44:53 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2016-03-12 00:10:01 +0100
commit8e58ed807c77febfde61d3cf47928302f93cc99c (patch)
tree43fb4232a5503bd6c463bebcbc93a97d7a25d933 /test
parent3257ed4b66a48c2bbd3e558cce7990df937c7d21 (diff)
Don't issue env warning if env is empty
keep_environment needs to be mentioned in the runtime config. Setting add_environment isn't enough to suppress the warning.
Diffstat (limited to 'test')
-rw-r--r--test/confs/06151
-rw-r--r--test/stderr/061520
2 files changed, 9 insertions, 12 deletions
diff --git a/test/confs/0615 b/test/confs/0615
index bbfc4978a..86ecee108 100644
--- a/test/confs/0615
+++ b/test/confs/0615
@@ -1,6 +1,7 @@
# exim test configuration 0615
exim_path = EXIM_PATH
tls_advertise_hosts =
+spool_directory = DIR/spool
perl_startup = $| = 1; \
print "Environment visible in Perl:\n"; \
print map { "$_=$ENV{$_}\n" } sort keys %ENV;
diff --git a/test/stderr/0615 b/test/stderr/0615
index 85ee6f760..d8d0f8547 100644
--- a/test/stderr/0615
+++ b/test/stderr/0615
@@ -1,15 +1,11 @@
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
-1999-03-02 09:44:33 WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
+1999-03-02 09:44:33 Warning: purging the environment.
+ Suggested action: use keep_environment.