From: Gurusamy Sarathy Date: Tue, 4 Jul 2000 17:28:48 +0000 (+0000) Subject: b.t fails under OS/2 (from Yitzchak Scott-Thoennes) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=754a99e17ff315bbe807cb4de79de6e580be44bd;p=p5sagit%2Fp5-mst-13.2.git b.t fails under OS/2 (from Yitzchak Scott-Thoennes) p4raw-id: //depot/perl@6310 --- diff --git a/t/lib/b.t b/t/lib/b.t index 9e468f7..aceef28 100755 --- 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';