b.t fails under OS/2 (from Yitzchak Scott-Thoennes)
authorGurusamy Sarathy <gsar@cpan.org>
Tue, 4 Jul 2000 17:28:48 +0000 (17:28 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Tue, 4 Jul 2000 17:28:48 +0000 (17:28 +0000)
p4raw-id: //depot/perl@6310

t/lib/b.t

index 9e468f7..aceef28 100755 (executable)
--- a/t/lib/b.t
+++ b/t/lib/b.t
@@ -82,7 +82,8 @@ ok;
 
 chomp($a = `$^X -I../lib -MB::Stash -Mwarnings -e1`);
 $a = join ',', sort split /,/, $a;
-$a =~ s/-uWin32,//;
+$a =~ s/-uWin32,// if $^O eq 'MSWin32';
+$a =~ s/-u(Cwd|File|File::Copy|OS2),//g if $^O eq 'os2';
 if ($Config{static_ext} eq ' ') {
   $b = '-uCarp,-uCarp::Heavy,-uDB,-uExporter,-uExporter::Heavy,-uattributes,'
      . '-umain,-uwarnings';