When the perl version is bumped in blead, Module-CoreList
should be prepared to include a stub entry for this new version.
This tests for the existence of the stub-entry.
t/porting/checkcfgvar.t Check that all config.sh-like files are good
t/porting/cmp_version.t Test whether all changed module files have their VERSION bumped
t/porting/copyright.t Check that copyright years match
+t/porting/corelist.t Check that Module-CoreList has perl versions for the current perl
t/porting/customized.dat Data file for porting/customized.t
t/porting/customized.t Check all CUSTOMIZED files are as they should be
t/porting/diag.t Test completeness of perldiag.pod
--- /dev/null
+#!perl -w
+
+# Check that the current version of perl exists in Module-CoreList data
+
+use TestInit qw(T);
+use strict;
+use Config;
+
+require 't/test.pl';
+
+plan(tests => 5);
+
+use_ok('Module::CoreList');
+use_ok('Module::CoreList::Utils');
+
+{
+ no warnings 'once';
+ ok( defined $Module::CoreList::released{ $] }, "$] exists in released" );
+ ok( defined $Module::CoreList::version{ $] }, "$] exists in version" );
+ ok( defined $Module::CoreList::Utils::utilities{$] }, "$] exists in Utils" );
+}