C++: Solaris CC now compiles "perl"
[p5sagit/p5-mst-13.2.git] / t / comp / require.t
index 5deb8ad..d06834a 100755 (executable)
@@ -183,7 +183,7 @@ $foo = eval  {require bleah}; delete $INC{"bleah.pm"}; ++$::i;
 my $r = "threads";
 eval { require $r };
 $i++;
-if($@ =~ /Directory .*threads not allowed in require/) {
+if($@ =~ /Can't locate threads in \@INC/) {
     print "ok $i\n";
 } else {
     print "not ok $i\n";
@@ -199,9 +199,10 @@ if ($@ =~ /^This is an expected error/) {
     print "not ok $i\n";
 }
 
-############################
-#### Add new tests here ####
-############################
+##########################################
+# What follows are UTF-8 specific tests. #
+# Add generic tests before this point.   #
+##########################################
 
 # UTF-encoded things - skipped on EBCDIC machines and on UTF-8 input