diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-17 21:01:36 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-17 21:01:36 +0000 |
commit | d6c6162f7f7e5f417fee7c0cbae6b13c7d35eaaa (patch) | |
tree | 5d99e79e496a5d5c896c6d5a360bb8c6dc585fa0 /lib | |
parent | a6ab0b5c7971198624b2f1ac7ae236adc2773b84 (diff) | |
download | perl-d6c6162f7f7e5f417fee7c0cbae6b13c7d35eaaa.tar.gz |
A potential fix for non-empty LD in Unix.
p4raw-id: //depot/perl@21264
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/t/MM_Unix.t | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ExtUtils/t/MM_Unix.t b/lib/ExtUtils/t/MM_Unix.t index 7de8065eaa..c496e8ea2d 100644 --- a/lib/ExtUtils/t/MM_Unix.t +++ b/lib/ExtUtils/t/MM_Unix.t @@ -18,7 +18,7 @@ BEGIN { plan skip_all => 'Non-Unix platform'; } else { - plan tests => 116; + plan tests => 117; } } @@ -237,8 +237,13 @@ is ($t->replace_manpage_separator('Foo/Bar'),'Foo::Bar','manpage_separator'); $t->init_linker; foreach (qw/ EXPORT_LIST PERL_ARCHIVE PERL_ARCHIVE_AFTER LD /) { + use Config; ok( exists $t->{$_}, "$_ was defined" ); - is( $t->{$_}, '', "$_ is empty on Unix"); + if (exists $Config{lc $_}) { + is($t->{$_}, $Config{lc $_}, "$_ is like in %Config ($t->{$_})"); + } else { + is($t->{$_}, '', "$_ is empty on Unix"); + } } |