The Manifest.t test is careful enough to maniadd a lower
case lc('META.yml') for VMS's benefit but then turns around and
carried out the check of a redundant maniadd() call
with the mixed case version of the file name.
The enclosed patch has been tested on VMS 7.3-1
and on Linux 2.4.18-14smp:
--- perl_20760/lib/ExtUtils/t/Manifest.t 2003-08-18 12:48:39.000000000 -0400
+++ perl/lib/ExtUtils/t/Manifest.t 2003-08-18 15:41:28.000000000 -0400
@@ -204,9 +204,16 @@
chmod( 0400, 'MANIFEST' );
skip "Can't make MANIFEST read-only", 2 if -w 'MANIFEST';
- eval {
- maniadd({ 'META.yml' => 'hock' });
- };
+ if ( $^O eq 'VMS' ) {
+ eval {
+ maniadd({ 'meta.yml' => 'hock' });
+ };
+ }
+ else {
+ eval {
+ maniadd({ 'META.yml' => 'hock' });
+ };
+ }
is( $@, '', "maniadd() won't open MANIFEST if it doesn't need to" );
eval {
End of Patch.
(See attached file: manifest_t.patch)
Peter Prymmer
manifest_t.patch
Description: Binary data
