From bd0f95ded48f560cb1f9f8b808e1abaabeb4d4ec Mon Sep 17 00:00:00 2001 From: Andrew Aitchison Date: Sat, 4 Mar 2023 17:23:09 +0000 Subject: exim_msgdate: more options, better perl version compatibility --- test/runtest | 2 +- test/scripts/0000-Basic/0700 | 2 +- test/stderr/0700 | 1 + test/stdout/0700 | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.2.1