ExtUtils::MakeMaker 6.55_02
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / t / prefixify.t
index b5bf139..011b77c 100644 (file)
@@ -17,7 +17,7 @@ if( $^O eq 'VMS' ) {
     plan skip_all => 'prefixify works differently on VMS';
 }
 else {
-    plan tests => 3;
+    plan tests => 4;
 }
 use ExtUtils::MakeMaker::Config;
 use File::Spec;
@@ -38,6 +38,10 @@ $mm->prefixify('installbin', 'wibble', 'something', $default);
 is( $mm->{INSTALLBIN}, File::Spec->catdir('something', $default),
                                             'prefixify w/defaults and PREFIX');
 
+$mm->prefixify('installbin', '../wibble', 'something', $default);
+is( $mm->{INSTALLBIN}, File::Spec->catdir('something', $default),
+                                            'relative paths + PREFIX');
+
 SKIP: {
     skip "Test for DOSish prefixification", 1 unless $Is_Dosish;