Author: schwern
Date: Thu Sep 18 04:42:02 2008
New Revision: 11813
Modified:
Module-Build/trunk/t/compat.t
Log:
The INSTALLDIRS=vendor INSTALLVENDORLIB test is broken. It was just picking up
$libdir2 from the make command being repeated on the log!
INSTALL*LIB is not passed along. Some systems don't have it set (Strawberry
Perl). This is a real bug.
Modified: Module-Build/trunk/t/compat.t
==============================================================================
--- Module-Build/trunk/t/compat.t (original)
+++ Module-Build/trunk/t/compat.t Thu Sep 18 04:42:02 2008
@@ -218,7 +218,7 @@
ok $ran_ok, "make fakeinstall with INSTALLDIRS=vendor ran ok";
$output =~ s/^/# /gm; # Don't confuse our own test output
like $output,
- qr/\Q$libdir2/,
+ qr/\Q$libdir2\E .* Simple\.pm/x,
'Should have installdirs=vendor';
stdout_of( sub { $mb->do_system(@make, 'realclean'); } );