Author: particle Date: Thu Jan 10 17:08:13 2008 New Revision: 24738 Modified: trunk/t/configure/144-auto_readline-01.t
Log: auto::readline: fixup patch for win32 Modified: trunk/t/configure/144-auto_readline-01.t ============================================================================== --- trunk/t/configure/144-auto_readline-01.t (original) +++ trunk/t/configure/144-auto_readline-01.t Thu Jan 10 17:08:13 2008 @@ -132,7 +132,7 @@ $cwd = cwd(); { - my $tdir3 = tempdir( CLEANUP => 1 ); + my $tdir3 = File::Spec->canonpath( tempdir( CLEANUP => 1 ) ); ok(chdir $tdir3, "Able to change to temporary directory"); $step->{macports_root} = $tdir3; ok( (mkdir 'lib'), "Able to make lib directory"); @@ -148,7 +148,9 @@ ok($step->_handle_darwin_for_macports( $conf, $osname, 'readline/readline.h'), "handle_darwin_for_macports() returned true value"); - like($conf->data->get( 'linkflags' ), qr/-L\Q$libdir\E/, + like( + File::Spec->canonpath( $conf->data->get( 'linkflags' ) ), + qr/\Q$libdir\E/, "Linkflags modified as expected" ); chdir $cwd or croak "Unable to change back to original directory"; }