INN commit: branches/2.6/tests/docs (pod.t.in)
INN Commit
rra at isc.org
Mon Jan 11 22:07:00 UTC 2021
Date: Monday, January 11, 2021 @ 14:06:59
Author: iulius
Revision: 10510
Do not run the check for POD syntax if Test::POD is too old
Test::POD versions prior to 1.50 may not ignore directories like
.libs set in the ignore_dirs hash (due to a bug).
This causes the test to fail whereas POD syntax is OK.
Modified:
branches/2.6/tests/docs/pod.t.in
----------+
pod.t.in | 4 ++++
1 file changed, 4 insertions(+)
Modified: pod.t.in
===================================================================
--- pod.t.in 2021-01-11 22:06:01 UTC (rev 10509)
+++ pod.t.in 2021-01-11 22:06:59 UTC (rev 10510)
@@ -59,6 +59,10 @@
if (!eval { require Test::Pod }) {
plan(skip_all => 'Test::Pod required for testing POD');
}
+# Support for %Test::Pod::ignore_dirs has been fixed in version 1.50.
+if ($Test::Pod::VERSION < '1.50') {
+ plan(skip_all => 'Test::Pod 1.50 required for testing POD');
+}
Test::Pod->import;
# C_TAP_SOURCE will be the test directory. Change to the parent.
More information about the inn-committers
mailing list