summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-11-04 08:01:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-11-04 08:01:25 +0000
commitda9274502cf796d52a9875e4c9f650b53901ad73 (patch)
tree3442de4a9a0984276b991918756667489a50ea08 /t
parent88dc0f0d4b3e8ced559c2ad1971419074a49337b (diff)
downloadperl-da9274502cf796d52a9875e4c9f650b53901ad73.tar.gz
Incremental Mac integration from Matthias.
p4raw-id: //depot/cfgperl@4512
Diffstat (limited to 't')
-rw-r--r--t/pod/testpchk.pl13
1 files changed, 0 insertions, 13 deletions
diff --git a/t/pod/testpchk.pl b/t/pod/testpchk.pl
index 07236e69e7..640226bde7 100644
--- a/t/pod/testpchk.pl
+++ b/t/pod/testpchk.pl
@@ -30,20 +30,7 @@ sub stripname( $ ) {
}
sub msgcmp( $ $ ) {
- ## filter out platform-dependent aspects of error messages
my ($line1, $line2) = @_;
- for ($line1, $line2) {
- if ( /^#*\s*(\S.*?)\s+(?:has \d+\s*)?pod syntax (?:error|OK)/ ) {
- my $fname = $1;
- s/^#*\s*// if ($^O eq 'MacOS');
- s/^\s*\Q$fname\E/stripname($fname)/e;
- }
- elsif ( /^#*\s*\*+\s*(?:ERROR|Unterminated)/ ) {
- s/^#*\s*// if ($^O eq 'MacOS');
- s/of file\s+(\S.*?)\s*$/"of file ".stripname($1)/e;
- s/at\s+(\S.*?)\s+line/"at ".stripname($1)." line"/e;
- }
- }
return $line1 ne $line2;
}