Gitweb:
https://git.exim.org/exim.git/commitdiff/712684792801868efbc821d21ce5c38feeec2e05
Commit: 712684792801868efbc821d21ce5c38feeec2e05
Parent: 98618913a1f7f78fca53a78e731cf37103da2d90
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Dec 30 12:21:40 2022 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Fri Dec 30 12:21:40 2022 +0000
Testsuite: more PATH munge cases
cf: caf28f95ce0a
---
test/runtest | 2 +-
test/stderr/0628 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/runtest b/test/runtest
index 890e4def8..5ae880e0a 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1484,7 +1484,7 @@ RESET_AFTER_EXTRA_LINE_READ:
s/(?<!post-)[Pp]rocess\K(\s\d+ )/new_value($1, "p%s", \$next_pid) . " "/gxe;
# Path in environment varies
- s/^ PATH=\K.*$/<munged>/;
+ s/ PATH=\K.*$/<munged>/;
# When Exim is checking the size of directories for maildir, it uses
# the check_dir_size() function to scan directories. Of course, the order
diff --git a/test/stderr/0628 b/test/stderr/0628
index 7bde02185..757d24dd7 100644
--- a/test/stderr/0628
+++ b/test/stderr/0628
@@ -28,7 +28,7 @@
01:01:01 p1239 changed uid/gid: forcing real = effective
01:01:01 p1239 uid=uuuu gid=EXIM_GID pid=p1239
01:01:01 p1239 environment after trimming:
-01:01:01 p1239 PATH=CALLER_HOME/.local/sbin:CALLER_HOME/.local/bin:CALLER_HOME/sbin:CALLER_HOME/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/sbin
+01:01:01 p1239 PATH=<munged>
01:01:01 p1239 adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
01:01:01 p1239 configuration file is TESTSUITE/test-config
01:01:01 p1239 trusted user