From: Jarkko Hietaniemi Date: Tue, 19 Aug 2003 19:34:18 +0000 (+0000) Subject: Manifest.t.ation of Schwern. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ca25ae7848f04e8f56f0effcd38164c0e19f7b9;p=p5sagit%2Fp5-mst-13.2.git Manifest.t.ation of Schwern. p4raw-id: //depot/perl@20785 --- diff --git a/lib/ExtUtils/t/Manifest.t b/lib/ExtUtils/t/Manifest.t index 8054e80..1681197 100644 --- a/lib/ExtUtils/t/Manifest.t +++ b/lib/ExtUtils/t/Manifest.t @@ -189,16 +189,20 @@ $files = maniread; is( $files->{wibble}, '', 'maniadd() with undef comment' ); is( $files->{yarrow}, 'hock',' with comment' ); is( $files->{foobar}, '', ' preserved old entries' ); + add_file('MANIFEST' => 'Makefile.PL'); maniadd({ foo => 'bar' }); - $files = maniread; # VMS downcases the MANIFEST. We normalize it here to match. %$files = map { (lc $_ => $files->{$_}) } keys %$files; my %expect = ( 'makefile.pl' => '', - 'foo' => 'bar' ); + 'foo' => 'bar' + ); is_deeply( $files, \%expect, 'maniadd() vs MANIFEST without trailing newline'); +add_file('MANIFEST' => 'Makefile.PL'); +maniadd({ foo => 'bar' }); + SKIP: { chmod( 0400, 'MANIFEST' ); skip "Can't make MANIFEST read-only", 2 if -w 'MANIFEST';