summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2017-11-01 07:45:55 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2017-11-01 07:58:01 +0100
commitfd1e42c55aa8595e78d1af2eac345f89ed090fe1 (patch)
treead90b4d7103a27c9b8fb89b082c96f56c712a8a3 /test/runtest
parent983da87847289c7f5373e4d5933d379f211b7613 (diff)
Testsuite: Output the --version from exigrep, exinext, eximstats
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/runtest b/test/runtest
index dfd21925a..b29be7fce 100755
--- a/test/runtest
+++ b/test/runtest
@@ -3320,7 +3320,6 @@ system("sudo cp eximdir/exim eximdir/exim_exim;" .
"sudo chgrp $parm_eximgroup eximdir/exim_exim;" .
"sudo chmod 06755 eximdir/exim_exim");
-
##################################################
# Make copies of utilities we might need #
##################################################
@@ -3363,6 +3362,15 @@ if (system("cp $parm_exim_dir/eximstats eximdir") != 0)
tests_exit(-1, "Failed to make a copy of eximstats: $!");
}
+# Collect some version information
+print '-' x 78, "\n";
+print "Perl version for runtest: $^V\n";
+foreach (map { "./eximdir/$_" } qw(exigrep exinext eximstats)) {
+ # fold (or unfold?) multiline output into a one-liner
+ print join(', ', map { chomp; $_ } `$_ --version`), "\n";
+}
+print '-' x 78, "\n";
+
##################################################
# Check that the Exim user can access stuff #
@@ -3408,8 +3416,6 @@ else
tests_exit(-1, "Failed to unlink $log_summary_filename: $!")
if not unlink($log_summary_filename) and -e $log_summary_filename;
-print "Perl version:" . $];
-
##################################################
# Create a list of available tests #
##################################################