summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Aitchison <exim@aitchison.me.uk>2023-03-04 17:23:09 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2023-03-04 17:29:00 +0000
commitbd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec (patch)
treeff656d513ea2d6a0400cf4af23054e5e333635cc /test
parentf95cf0d24bbb6faaa74f449759d089601dbab892 (diff)
downloadexim4-bd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec.tar.gz
exim_msgdate: more options, better perl version compatibility
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtest2
-rw-r--r--test/scripts/0000-Basic/07002
-rw-r--r--test/stderr/07001
-rw-r--r--test/stdout/07001
4 files changed, 3 insertions, 3 deletions
diff --git a/test/runtest b/test/runtest
index 137f8dac6..82ae480ce 100755
--- a/test/runtest
+++ b/test/runtest
@@ -3920,7 +3920,7 @@ foreach my $tool (qw(exim_dumpdb exim_lock exinext exigrep eximstats exiqgrep ex
# Collect some version information
print '-' x 78, "\n";
print "Perl version for runtest: $]\n";
-foreach (map { "./eximdir/$_" } qw(exigrep exinext eximstats exiqgrep)) {
+foreach (map { "./eximdir/$_" } qw(exigrep exinext eximstats exiqgrep exim_msgdate)) {
# fold (or unfold?) multiline output into a one-liner
print join(', ', map { chomp; $_ } `$_ --version`), "\n";
}
diff --git a/test/scripts/0000-Basic/0700 b/test/scripts/0000-Basic/0700
index 8d4f06976..255e8e209 100644
--- a/test/scripts/0000-Basic/0700
+++ b/test/scripts/0000-Basic/0700
@@ -129,7 +129,7 @@ exim_msgdate --localhost_number 11 -base 36 EZZZZZZ-003FPJ-ZZ
0 TZ=GB
exim_msgdate -localhost_number 11 --local -base 62 EZZZZZZ-003FPJ-ZZ
****
-0 TZ=GB
+255 TZ=GB
exim_msgdate --localhost_number -1 -base 36 EZZZZZZ-003FPJ-ZZ
****
255 TZ=GB
diff --git a/test/stderr/0700 b/test/stderr/0700
index 4531d5e2c..f05729b31 100644
--- a/test/stderr/0700
+++ b/test/stderr/0700
@@ -23,6 +23,7 @@ zzzzzzz not parsed
### Show the process id too
### Override the value of localhost_number set in the exim configuation file
localhost_number > 10
+localhost_number must be a number >=0
localhost_number > 16
### From here as 701 - 703
### Each msg-id type, all zone
diff --git a/test/stdout/0700 b/test/stdout/0700
index 2e47baa35..260a13279 100644
--- a/test/stdout/0700
+++ b/test/stdout/0700
@@ -50,7 +50,6 @@
3002-09-30 13:51:45.025000 BST
2038-12-24 05:45:38.950000 GMT
3002-09-30 13:51:45.025000 BST
-2038-12-24 05:45:48.950000 GMT
### From here as 701 - 703
### Each msg-id type, all zone
0.000000 pid 1319504